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.0009671/0.0009671, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009718/0.0009718, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9158/0.9158, allocations: 173.3 MB / 201.5 MB, free: 9.297 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.693e-06/1.693e-06, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.816e-05, allocations: 6.25 kB / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003924/0.003942, allocations: 4.332 MB / 272.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.005792, allocations: 1.559 MB / 274 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.005998, allocations: 15.88 kB / 274 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.006268, allocations: 126.8 kB / 274.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.006819, allocations: 369.4 kB / 274.5 MB, free: 268 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.007087, allocations: 239.5 kB / 274.7 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000622/0.007709, allocations: 1.009 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.007914, allocations: 146.1 kB / 275.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.008347, allocations: 0.5575 MB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.008646, allocations: 343 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.008731, allocations: 96 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.008967, allocations: 207.9 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.009068, allocations: 199.3 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.00925, allocations: 295.3 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.01007, allocations: 0.7085 MB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01007, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01007, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.01008, allocations: 0 / 278.2 MB, free: 12.48 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.001342/0.01142, allocations: 1.138 MB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.01146, allocations: 12.92 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.0116, allocations: 128.4 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.01205, allocations: 427.6 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.01215, allocations: 127 kB / 280.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.01228, allocations: 72.62 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.01288, allocations: 0.5701 MB / 280.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.0129, allocations: 7.938 kB / 280.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.01294, allocations: 24 kB / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01295, allocations: 12 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.01339, allocations: 279.5 kB / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.01528, allocations: 2.054 MB / 283.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.0157, allocations: 317.2 kB / 283.4 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.01591, allocations: 147.8 kB / 283.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.01594, allocations: 11.94 kB / 283.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01596, allocations: 41.39 kB / 283.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.01596, allocations: 0 / 283.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005349/0.02131, allocations: 2.462 MB / 286 MB, free: 4.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.02134, allocations: 85.61 kB / 286.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.02172, allocations: 494.6 kB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.02175, allocations: 37.7 kB / 286.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.02191, allocations: 383.6 kB / 287 MB, free: 3.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.02202, allocations: 210.2 kB / 287.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.02215, allocations: 119.9 kB / 287.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.02228, allocations: 0.5429 MB / 287.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.02246, allocations: 105.2 kB / 288 MB, free: 2.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.02271, allocations: 235.7 kB / 288.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.02314, allocations: 376.9 kB / 288.6 MB, free: 1.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.02314, allocations: 0 / 288.6 MB, free: 1.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000637/0.02378, allocations: 0.5003 MB / 289.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.02379, allocations: 4 kB / 289.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.0238, allocations: 4 kB / 289.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.02396, allocations: 51.89 kB / 289.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.02435, allocations: 163.8 kB / 289.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1017/0.126, allocations: 1.76 MB / 291.1 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.1264, allocations: 33.69 kB / 291.1 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1265, allocations: 25.67 kB / 291.1 MB, free: 24.82 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.0001865/0.1267, allocations: 193.3 kB / 291.3 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1268, allocations: 81.53 kB / 291.4 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/0.1276, allocations: 0.5485 MB / 291.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1276, allocations: 7.781 kB / 291.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1276, allocations: 5.281 kB / 291.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1276, allocations: 3.234 kB / 291.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1294, allocations: 1.286 MB / 293.2 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1294, allocations: 3.078 kB / 293.2 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1297, allocations: 103 kB / 293.3 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/0.1307, allocations: 333.8 kB / 293.7 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.1307, allocations: 15.97 kB / 293.7 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.1329, allocations: 2.811 MB / 296.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1329, allocations: 7.375 kB / 296.5 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1341, allocations: 0.9767 MB / 297.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.1344, allocations: 129 kB / 297.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.1344, allocations: 11.75 kB / 297.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.1348, allocations: 36.7 kB / 297.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1349, allocations: 51.64 kB / 297.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.135, allocations: 18.33 kB / 297.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.1353, allocations: 342.9 kB / 298 MB, free: 21.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1353, allocations: 0 / 298 MB, free: 21.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.136, allocations: 189.5 kB / 298.2 MB, free: 21.82 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.0002399/0.1362, allocations: 155.8 kB / 298.4 MB, free: 21.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.137, allocations: 0.5323 MB / 298.9 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.137, allocations: 1.281 kB / 298.9 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.1375, allocations: 467.9 kB / 299.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1381, allocations: 93.02 kB / 299.5 MB, free: 21.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.1403, allocations: 1.26 MB / 300.7 MB, free: 20.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.1404, allocations: 152.4 kB / 300.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1407, allocations: 65.73 kB / 300.9 MB, free: 20.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1408, allocations: 53.34 kB / 301 MB, free: 20.61 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1408, allocations: 0 / 301 MB, free: 20.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01318/0.154, allocations: 9.706 MB / 310.7 MB, free: 16.23 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.934725248022005]