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.001815/0.001815, allocations: 122.5 kB / 18.46 MB, free: 4.598 MB / 14.72 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.002159/0.002159, allocations: 190.6 kB / 21.4 MB, free: 1.668 MB / 14.72 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 1.451/1.451, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001487/0.001487, allocations: 55.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09918, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.0061/0.1053, allocations: 4.382 MB / 423.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.108, allocations: 1.598 MB / 424.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.1083, allocations: 11.94 kB / 424.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1087, allocations: 118.9 kB / 425.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.1095, allocations: 373.6 kB / 425.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1099, allocations: 235.6 kB / 425.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009859/0.1109, allocations: 0.9823 MB / 426.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1111, allocations: 153.5 kB / 426.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.1116, allocations: 382.7 kB / 427.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.1121, allocations: 426.3 kB / 427.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.1123, allocations: 96 kB / 427.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.1126, allocations: 207.9 kB / 427.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.1128, allocations: 203.3 kB / 428.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.1132, allocations: 418.1 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1144, allocations: 1.167 MB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1145, allocations: 0 / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1145, allocations: 0 / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1145, allocations: 0 / 429.6 MB, free: 1.367 MB / 350.1 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.002431/0.1169, allocations: 1.116 MB / 430.8 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1169, allocations: 12.03 kB / 430.8 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1171, allocations: 84.42 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.1179, allocations: 0.5227 MB / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.118, allocations: 71.58 kB / 431.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.1182, allocations: 68.48 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1194, allocations: 0.6097 MB / 432.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.1195, allocations: 0 / 432.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.1195, allocations: 20 kB / 432.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1195, allocations: 16 kB / 432.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1208, allocations: 0.5243 MB / 432.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.1245, allocations: 2.291 MB / 435 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1255, allocations: 462 kB / 435.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.1261, allocations: 262 kB / 435.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.1261, allocations: 4 kB / 435.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1262, allocations: 38.56 kB / 435.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/0.1262, allocations: 4 kB / 435.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01337/0.1395, allocations: 3.557 MB / 439.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1396, allocations: 85.66 kB / 439.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.1404, allocations: 0.5332 MB / 439.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.1405, allocations: 33.7 kB / 439.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1407, allocations: 324.8 kB / 440.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.1409, allocations: 218.1 kB / 440.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.1411, allocations: 110.3 kB / 440.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1413, allocations: 370.8 kB / 440.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.1419, allocations: 245.2 kB / 441.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.1425, allocations: 348.4 kB / 441.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1438, allocations: 0.6058 MB / 442.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1438, allocations: 0 / 442.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001663/0.1455, allocations: 0.7414 MB / 442.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1455, allocations: 10.5 kB / 442.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1455, allocations: 0 / 442.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.1457, allocations: 36.77 kB / 442.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.1465, allocations: 172 kB / 443.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1478, allocations: 1.43 MB / 444.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.1484, allocations: 39.92 kB / 444.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.1484, allocations: 23.98 kB / 444.6 MB, free: 1.816 MB / 366.1 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.0003266/0.1487, allocations: 205.8 kB / 444.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.1489, allocations: 67.58 kB / 444.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.1508, allocations: 0.8257 MB / 445.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.1508, allocations: 11.94 kB / 445.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1508, allocations: 0 / 445.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1508, allocations: 7.922 kB / 445.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2186/0.3694, allocations: 1.838 MB / 447.5 MB, free: 30.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3694, allocations: 0 / 447.5 MB, free: 30.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.37, allocations: 110 kB / 447.6 MB, free: 30.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.3724, allocations: 472.2 kB / 448.1 MB, free: 30.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.3724, allocations: 17.83 kB / 448.1 MB, free: 30.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.3772, allocations: 3.146 MB / 451.3 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3772, allocations: 0.5625 kB / 451.3 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.3803, allocations: 1.362 MB / 452.6 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.3806, allocations: 210.6 kB / 452.8 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.3807, allocations: 21.66 kB / 452.8 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.3813, allocations: 43.25 kB / 452.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3815, allocations: 50 kB / 452.9 MB, free: 28.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.3815, allocations: 19.25 kB / 453 MB, free: 28.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005266/0.3821, allocations: 388.8 kB / 453.3 MB, free: 27.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3821, allocations: 0 / 453.3 MB, free: 27.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.3829, allocations: 186.8 kB / 453.5 MB, free: 27.88 MB / 366.1 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.0003189/0.3832, allocations: 158.9 kB / 453.7 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3849, allocations: 0.7058 MB / 454.4 MB, free: 27.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3849, allocations: 1.312 kB / 454.4 MB, free: 27.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.3859, allocations: 0.495 MB / 454.9 MB, free: 27.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.3867, allocations: 89.67 kB / 455 MB, free: 27.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3896, allocations: 1.524 MB / 456.5 MB, free: 26.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.39, allocations: 0.8977 MB / 457.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.3903, allocations: 57.98 kB / 457.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3903, allocations: 0 / 457.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01979/0.4101, allocations: 11.88 MB / 469.3 MB, free: 21.86 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.070112258894369]