Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.002338/0.002338, allocations: 91.62 kB / 20.96 MB, free: 3.457 MB / 18.57 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.00196/0.00196, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.184e-05, allocations: 3.156 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006541/0.006573, allocations: 4.318 MB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.00961, allocations: 1.605 MB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.009903, allocations: 19.88 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.01027, allocations: 118.9 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008758/0.01115, allocations: 381.3 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.01162, allocations: 243.5 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.01277, allocations: 1.009 MB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.01307, allocations: 154.1 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008029/0.01387, allocations: 0.5574 MB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.01441, allocations: 339.1 kB / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.01456, allocations: 96 kB / 281.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.01498, allocations: 215.8 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01519, allocations: 203.2 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.01555, allocations: 295.3 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.01717, allocations: 1.223 MB / 283.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.01717, allocations: 3.938 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01717, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.01718, allocations: 0 / 283.1 MB, free: 7.031 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.002613/0.0198, allocations: 1.193 MB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.01983, allocations: 12.03 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.02017, allocations: 132.4 kB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.02098, allocations: 463.5 kB / 284.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.02114, allocations: 127 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.02135, allocations: 72.73 kB / 285 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.02261, allocations: 0.7295 MB / 285.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.02263, allocations: 7.938 kB / 285.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.0227, allocations: 24 kB / 285.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.02271, allocations: 12 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.02384, allocations: 0.5048 MB / 286.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.02782, allocations: 2.465 MB / 288.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/0.0288, allocations: 462.2 kB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.02932, allocations: 247.7 kB / 289.5 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.02936, allocations: 8.719 kB / 289.5 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.0294, allocations: 53.33 kB / 289.5 MB, free: 284 kB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.0294, allocations: 0 / 289.5 MB, free: 284 kB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1181/0.1475, allocations: 3.124 MB / 292.7 MB, free: 27.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1475, allocations: 86.7 kB / 292.7 MB, free: 27.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.1482, allocations: 0.6199 MB / 293.4 MB, free: 27.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.1483, allocations: 37.94 kB / 293.4 MB, free: 27.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.1484, allocations: 395.3 kB / 293.8 MB, free: 26.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1486, allocations: 239.7 kB / 294 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.1488, allocations: 136.1 kB / 294.2 MB, free: 26.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.149, allocations: 0.574 MB / 294.7 MB, free: 26.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.1495, allocations: 236.3 kB / 295 MB, free: 26.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.15, allocations: 389.9 kB / 295.3 MB, free: 25.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.1511, allocations: 0.6466 MB / 296 MB, free: 25.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1511, allocations: 0.9688 kB / 296 MB, free: 25.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001484/0.1526, allocations: 0.7571 MB / 296.7 MB, free: 25.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1526, allocations: 6.406 kB / 296.7 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1526, allocations: 3.797 kB / 296.8 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.1529, allocations: 56.09 kB / 296.8 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.1537, allocations: 162.6 kB / 297 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.1547, allocations: 1.832 MB / 298.8 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.1553, allocations: 32.83 kB / 298.8 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.1554, allocations: 25.3 kB / 298.9 MB, free: 23.31 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.0002838/0.1556, allocations: 250.3 kB / 299.1 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.1558, allocations: 82.19 kB / 299.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.1576, allocations: 0.8254 MB / 300 MB, free: 22.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1576, allocations: 7.688 kB / 300 MB, free: 22.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1576, allocations: 3.938 kB / 300 MB, free: 22.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1576, allocations: 9.109 kB / 300 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.1611, allocations: 1.746 MB / 301.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1611, allocations: 1.281 kB / 301.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.1616, allocations: 102.5 kB / 301.9 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.1638, allocations: 415.8 kB / 302.3 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.1638, allocations: 13.58 kB / 302.3 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.1684, allocations: 3.607 MB / 305.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1684, allocations: 5 kB / 305.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.171, allocations: 1.458 MB / 307.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.1712, allocations: 127.4 kB / 307.5 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.1713, allocations: 15.75 kB / 307.5 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.1719, allocations: 41.72 kB / 307.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.172, allocations: 49.88 kB / 307.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.172, allocations: 22.27 kB / 307.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000399/0.1724, allocations: 427.6 kB / 308 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1724, allocations: 0 / 308 MB, free: 17.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006941/0.1731, allocations: 185.1 kB / 308.2 MB, free: 17.74 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.0002596/0.1734, allocations: 158.8 kB / 308.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1746, allocations: 0.7865 MB / 309.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1746, allocations: 4.625 kB / 309.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.1754, allocations: 0.5942 MB / 309.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.1759, allocations: 83.97 kB / 309.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.178, allocations: 1.387 MB / 311.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.1782, allocations: 307.1 kB / 311.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.1784, allocations: 73.77 kB / 311.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1786, allocations: 48.48 kB / 311.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1786, allocations: 4 kB / 311.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01402/0.1926, allocations: 9.717 MB / 321.4 MB, free: 4.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.003425161004998]