Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 83.11 kB / 21.99 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 52.3 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1986, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004729/0.2033, allocations: 3.098 MB / 351.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2056, allocations: 1.376 MB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2057, allocations: 4 kB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.2092, allocations: 2.663 MB / 355.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.2096, allocations: 174.7 kB / 355.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.2102, allocations: 287.5 kB / 356.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.2124, allocations: 1.801 MB / 357.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.2127, allocations: 91.69 kB / 358 MB, free: 6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.2131, allocations: 313 kB / 358.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.2136, allocations: 330.7 kB / 358.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.2137, allocations: 44 kB / 358.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.2138, allocations: 72 kB / 358.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.2146, allocations: 0.8492 MB / 359.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.2153, allocations: 0.6627 MB / 360.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.2181, allocations: 2.648 MB / 362.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2181, allocations: 3.938 kB / 362.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2181, allocations: 0 / 362.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.2182, allocations: 0 / 362.9 MB, free: 1.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004252/0.2224, allocations: 2.824 MB / 365.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2224, allocations: 8.031 kB / 365.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.2228, allocations: 298.9 kB / 366 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.2255, allocations: 1.786 MB / 367.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.2257, allocations: 114.7 kB / 367.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2259, allocations: 51.86 kB / 368 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.2267, allocations: 442.4 kB / 368.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.2267, allocations: 3.984 kB / 368.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2268, allocations: 16 kB / 368.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2268, allocations: 8 kB / 368.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2275, allocations: 331.7 kB / 368.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.2317, allocations: 2.545 MB / 371.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.2324, allocations: 305 kB / 371.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.2327, allocations: 157.6 kB / 371.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2328, allocations: 4 kB / 371.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2328, allocations: 38.56 kB / 371.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.2328, allocations: 0 / 371.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004995/0.2378, allocations: 2.362 MB / 374.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2378, allocations: 89.59 kB / 374.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007041/0.2449, allocations: 5.436 MB / 379.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.2449, allocations: 33.7 kB / 379.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.2462, allocations: 1.164 MB / 380.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2463, allocations: 174.5 kB / 381 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2465, allocations: 90.14 kB / 381.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2466, allocations: 333.9 kB / 381.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.247, allocations: 141 kB / 381.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.2474, allocations: 221.1 kB / 381.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.2482, allocations: 385.5 kB / 382.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2482, allocations: 0 / 382.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001243/0.2494, allocations: 0.6909 MB / 382.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2495, allocations: 12.25 kB / 382.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2495, allocations: 0 / 382.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2495, allocations: 11.98 kB / 382.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.25, allocations: 115.9 kB / 383 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.25, allocations: 11.92 kB / 383 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.2504, allocations: 19.94 kB / 383.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.2505, allocations: 23.92 kB / 383.1 MB, free: 12.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.2515, allocations: 0.9154 MB / 384 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.2519, allocations: 282.1 kB / 384.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2534, allocations: 0.7761 MB / 385 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2534, allocations: 8 kB / 385 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2534, allocations: 0 / 385 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2534, allocations: 3.984 kB / 385.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2549, allocations: 1.168 MB / 386.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2549, allocations: 4 kB / 386.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.2554, allocations: 99.88 kB / 386.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.2557, allocations: 88.73 kB / 386.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.2557, allocations: 15.98 kB / 386.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/0.2564, allocations: 0.6304 MB / 387.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2564, allocations: 3.938 kB / 387.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2581, allocations: 1.073 MB / 388.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/0.2589, allocations: 426.1 kB / 388.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.2591, allocations: 11.94 kB / 388.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.2596, allocations: 19.98 kB / 388.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.2596, allocations: 32.44 kB / 388.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.2597, allocations: 11.98 kB / 388.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004865/0.2645, allocations: 3.973 MB / 392.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2645, allocations: 0 / 392.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006488/0.2652, allocations: 200 kB / 392.8 MB, free: 2.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.2669, allocations: 448.1 kB / 393.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008302/0.2677, allocations: 366.2 kB / 393.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2677, allocations: 0 / 393.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.2682, allocations: 202.7 kB / 393.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2692, allocations: 182.9 kB / 394 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/0.2767, allocations: 5.488 MB / 399.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.2784, allocations: 1.237 MB / 400.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.2789, allocations: 271.5 kB / 401 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2791, allocations: 88.48 kB / 401 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2791, allocations: 0 / 401 MB, free: 10.33 MB / 366.1 MB Notification: Performance of Templates: time 0.03087/0.31, allocations: 15.17 MB / 416.2 MB, free: 11.14 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.201589943957515]