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.0008937/0.0008937, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009153/0.0009153, allocations: 171.5 kB / 24.92 MB, free: 9.188 MB / 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 0.9319/0.9319, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.443e-05, allocations: 5.125 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.0108/0.01081, allocations: 4.339 MB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.01314, allocations: 1.659 MB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.01637, allocations: 11.94 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.01667, allocations: 126.8 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.01732, allocations: 373.4 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.01767, allocations: 247.4 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.01845, allocations: 1.005 MB / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.01868, allocations: 172 kB / 281.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.01923, allocations: 0.5574 MB / 282 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.02276, allocations: 339.1 kB / 282.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.02286, allocations: 96 kB / 282.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.02318, allocations: 219.9 kB / 282.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.0233, allocations: 199.3 kB / 282.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.02353, allocations: 291.3 kB / 283.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.02422, allocations: 0.7162 MB / 283.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.02422, allocations: 4 kB / 283.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02422, allocations: 0 / 283.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.02423, allocations: 0 / 283.8 MB, free: 6.883 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.001426/0.02565, allocations: 0.9978 MB / 284.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.02569, allocations: 15.97 kB / 284.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.02589, allocations: 104.8 kB / 284.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.02635, allocations: 322.4 kB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.02644, allocations: 127 kB / 285.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.02658, allocations: 76.69 kB / 285.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.02706, allocations: 0.5354 MB / 286 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.02708, allocations: 3.938 kB / 286 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.02711, allocations: 24 kB / 286 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.02712, allocations: 16 kB / 286 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.02738, allocations: 190.2 kB / 286.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.0289, allocations: 1.486 MB / 287.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.0292, allocations: 245.2 kB / 287.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.02934, allocations: 114.1 kB / 288 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.02936, allocations: 8 kB / 288 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.02939, allocations: 39.28 kB / 288.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.02939, allocations: 0 / 288.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1117/0.1411, allocations: 2.506 MB / 290.6 MB, free: 25.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1411, allocations: 85.59 kB / 290.7 MB, free: 25.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.1416, allocations: 417.4 kB / 291.1 MB, free: 25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/0.1417, allocations: 38.64 kB / 291.1 MB, free: 24.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1418, allocations: 274.3 kB / 291.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1419, allocations: 218.6 kB / 291.6 MB, free: 24.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.1421, allocations: 113.3 kB / 291.7 MB, free: 24.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.1422, allocations: 375 kB / 292.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1423, allocations: 70.19 kB / 292.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1425, allocations: 166.6 kB / 292.3 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.1429, allocations: 298.7 kB / 292.6 MB, free: 24.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1429, allocations: 2.656 kB / 292.6 MB, free: 24.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005612/0.1435, allocations: 350.2 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1435, allocations: 5.5 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1435, allocations: 3.078 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.1437, allocations: 48.59 kB / 293 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.1443, allocations: 192 kB / 293.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005386/0.1449, allocations: 1.187 MB / 294.4 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1452, allocations: 34.98 kB / 294.4 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.1452, allocations: 19.64 kB / 294.4 MB, free: 23.07 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.000135/0.1454, allocations: 145.7 kB / 294.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1455, allocations: 54.23 kB / 294.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.1462, allocations: 437.6 kB / 295 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1462, allocations: 6.594 kB / 295 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1462, allocations: 5.031 kB / 295 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1462, allocations: 7.359 kB / 295.1 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.1479, allocations: 0.891 MB / 295.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1479, allocations: 0.875 kB / 295.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.1483, allocations: 131.4 kB / 296.1 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.1494, allocations: 322.3 kB / 296.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.1495, allocations: 16.06 kB / 296.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.1516, allocations: 1.979 MB / 298.4 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1516, allocations: 1.797 kB / 298.4 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.1527, allocations: 0.7138 MB / 299.1 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.1529, allocations: 62.3 kB / 299.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.1529, allocations: 12.27 kB / 299.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.1533, allocations: 35.34 kB / 299.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1534, allocations: 54.11 kB / 299.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1534, allocations: 11.73 kB / 299.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.1536, allocations: 196.2 kB / 299.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1536, allocations: 4 kB / 299.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00058/0.1542, allocations: 185.2 kB / 299.6 MB, free: 21.07 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.0002061/0.1544, allocations: 136.7 kB / 299.8 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.155, allocations: 418.4 kB / 300.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.155, allocations: 4.438 kB / 300.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.1554, allocations: 364.1 kB / 300.5 MB, free: 20.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1558, allocations: 83.86 kB / 300.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1577, allocations: 1.194 MB / 301.8 MB, free: 20.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.1578, allocations: 145 kB / 302 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.158, allocations: 65.2 kB / 302 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.1583, allocations: 152.5 kB / 302.2 MB, free: 20.01 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1583, allocations: 0 / 302.2 MB, free: 20.01 MB / 266.7 MB Notification: Performance of Templates: time 0.01406/0.1724, allocations: 10.52 MB / 312.7 MB, free: 13.42 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 -s gbode -gbm=radauIIA3 -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","",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.8452641731128097]