Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000944/0.000944, allocations: 152.9 kB / 24.81 MB, free: 9.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9791/0.9791, allocations: 173.4 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.85e-05, allocations: 9.625 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003858/0.003876, allocations: 4.263 MB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.005553, allocations: 1.543 MB / 274.2 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.005772, allocations: 11.94 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.006037, allocations: 130.8 kB / 274.4 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.00658, allocations: 377.5 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.006836, allocations: 235.5 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008998/0.007736, allocations: 1.009 MB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.007931, allocations: 154 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.008343, allocations: 0.5613 MB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.008637, allocations: 339.1 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.008719, allocations: 96 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.008949, allocations: 203.9 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.00905, allocations: 203.3 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.009222, allocations: 291.3 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.009772, allocations: 0.7046 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.009774, allocations: 0 / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.009775, allocations: 3.938 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00978, allocations: 0 / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00121/0.01099, allocations: 1.138 MB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.01103, allocations: 12.92 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01116, allocations: 128.4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.01157, allocations: 414.3 kB / 280.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/0.01166, allocations: 127 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.01178, allocations: 72.67 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.01231, allocations: 0.5387 MB / 280.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01233, allocations: 3.938 kB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01236, allocations: 24 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01237, allocations: 12 kB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.01265, allocations: 230.1 kB / 281.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.01464, allocations: 1.976 MB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.01494, allocations: 285.5 kB / 283.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.01509, allocations: 127.8 kB / 283.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.01511, allocations: 12 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.01513, allocations: 41.39 kB / 283.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.553e-06/0.01513, allocations: 0 / 283.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004605/0.01974, allocations: 2.209 MB / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.01977, allocations: 81.61 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.02008, allocations: 478.3 kB / 286.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.02012, allocations: 33.7 kB / 286.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.02028, allocations: 379.5 kB / 286.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.02039, allocations: 218.1 kB / 287 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.02053, allocations: 123.9 kB / 287.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.02067, allocations: 0.5468 MB / 287.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.02079, allocations: 85.17 kB / 287.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.02097, allocations: 215.6 kB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.02129, allocations: 332.8 kB / 288.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02129, allocations: 0 / 288.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005019/0.0218, allocations: 464.3 kB / 288.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.02181, allocations: 4 kB / 288.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.02181, allocations: 4 kB / 288.7 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.02195, allocations: 51.94 kB / 288.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.02233, allocations: 159.7 kB / 288.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1099/0.1322, allocations: 1.738 MB / 290.7 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.1326, allocations: 34.98 kB / 290.7 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.1327, allocations: 21.12 kB / 290.7 MB, free: 27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1328, allocations: 196.5 kB / 290.9 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1329, allocations: 76.69 kB / 291 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.1336, allocations: 0.4997 MB / 291.5 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1336, allocations: 10.72 kB / 291.5 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1336, allocations: 0.6094 kB / 291.5 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1336, allocations: 4.438 kB / 291.5 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.1352, allocations: 1.154 MB / 292.7 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1352, allocations: 0 / 292.7 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.1355, allocations: 106.5 kB / 292.8 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008817/0.1363, allocations: 332.6 kB / 293.1 MB, free: 26.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.1364, allocations: 17.06 kB / 293.1 MB, free: 26.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.1383, allocations: 2.737 MB / 295.8 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1383, allocations: 4.719 kB / 295.8 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1393, allocations: 0.9007 MB / 296.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1394, allocations: 127.2 kB / 296.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1395, allocations: 21.58 kB / 296.9 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1397, allocations: 36.28 kB / 296.9 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.1398, allocations: 49.53 kB / 297 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1398, allocations: 15.48 kB / 297 MB, free: 24.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.14, allocations: 311.7 kB / 297.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.14, allocations: 0 / 297.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.1405, allocations: 184 kB / 297.5 MB, free: 24.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.1407, allocations: 155.3 kB / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.1412, allocations: 0.4925 MB / 298.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1412, allocations: 1.906 kB / 298.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.1416, allocations: 446.2 kB / 298.6 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.142, allocations: 81.34 kB / 298.6 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1436, allocations: 1.258 MB / 299.9 MB, free: 22.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.1437, allocations: 144.6 kB / 300 MB, free: 22.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.1439, allocations: 66.98 kB / 300.1 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.1441, allocations: 177.5 kB / 300.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1441, allocations: 1.75 kB / 300.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01137/0.1555, allocations: 10.26 MB / 310.5 MB, free: 17.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8330467767082155]