Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009442/0.0009442, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009609/0.0009609, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9533/0.9533, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.079e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005901/0.005922, allocations: 4.367 MB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.008888, allocations: 1.621 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.00924, allocations: 11.94 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.009641, allocations: 126.7 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.01087, allocations: 381.4 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.01138, allocations: 239.5 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.0124, allocations: 1.009 MB / 280.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.0127, allocations: 150.1 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.01345, allocations: 0.573 MB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.01394, allocations: 331.1 kB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.0141, allocations: 96 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.01448, allocations: 215.9 kB / 282 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01464, allocations: 203.3 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.01496, allocations: 291.3 kB / 282.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.01583, allocations: 0.7201 MB / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.01583, allocations: 0 / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01583, allocations: 0 / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.01585, allocations: 4 kB / 283.2 MB, free: 7.105 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.002019/0.01786, allocations: 1.138 MB / 284.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01791, allocations: 11.98 kB / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.01822, allocations: 132.5 kB / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.01892, allocations: 443.4 kB / 284.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.01906, allocations: 127 kB / 285 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.01925, allocations: 72.73 kB / 285.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.0202, allocations: 0.574 MB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.02022, allocations: 3.938 kB / 285.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.02028, allocations: 20 kB / 285.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.0203, allocations: 16 kB / 285.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.02082, allocations: 279.6 kB / 286 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.02308, allocations: 2.054 MB / 288 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.02349, allocations: 301.4 kB / 288.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.0237, allocations: 163.6 kB / 288.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.02373, allocations: 8 kB / 288.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.02376, allocations: 46.11 kB / 288.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.673e-06/0.02376, allocations: 0 / 288.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1081/0.1319, allocations: 2.468 MB / 291 MB, free: 24.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1319, allocations: 88.17 kB / 291.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.1323, allocations: 498.2 kB / 291.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1324, allocations: 39.14 kB / 291.6 MB, free: 24.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1325, allocations: 363.9 kB / 292 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1326, allocations: 220.2 kB / 292.2 MB, free: 24.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1328, allocations: 119.5 kB / 292.3 MB, free: 24.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1329, allocations: 0.5339 MB / 292.9 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1331, allocations: 103.2 kB / 293 MB, free: 23.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.1333, allocations: 235.3 kB / 293.2 MB, free: 23.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.1338, allocations: 377.7 kB / 293.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1338, allocations: 1.75 kB / 293.6 MB, free: 23.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007693/0.1346, allocations: 0.5043 MB / 294.1 MB, free: 23.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1346, allocations: 7.375 kB / 294.1 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1346, allocations: 2.156 kB / 294.1 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.1348, allocations: 50.19 kB / 294.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1352, allocations: 159.5 kB / 294.3 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/0.1359, allocations: 1.773 MB / 296 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1362, allocations: 34.16 kB / 296.1 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.1362, allocations: 23.33 kB / 296.1 MB, free: 21.53 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.0001726/0.1364, allocations: 189.6 kB / 296.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1365, allocations: 84.62 kB / 296.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.1374, allocations: 0.5508 MB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1374, allocations: 8.844 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1374, allocations: 2.312 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.1374, allocations: 7.219 kB / 296.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.1394, allocations: 1.274 MB / 298.2 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1394, allocations: 0.6562 kB / 298.2 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1397, allocations: 105.9 kB / 298.3 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.1408, allocations: 339 kB / 298.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.1408, allocations: 14.52 kB / 298.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.1433, allocations: 2.825 MB / 301.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1433, allocations: 0 / 301.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1447, allocations: 0.9768 MB / 302.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.1449, allocations: 125.3 kB / 302.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.145, allocations: 18.88 kB / 302.6 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.1453, allocations: 35.17 kB / 302.6 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1454, allocations: 54.81 kB / 302.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1455, allocations: 19.55 kB / 302.7 MB, free: 17.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.1457, allocations: 336.3 kB / 303 MB, free: 17.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1457, allocations: 0 / 303 MB, free: 17.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005367/0.1463, allocations: 196.3 kB / 303.2 MB, free: 17.75 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.000257/0.1465, allocations: 150.9 kB / 303.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.1473, allocations: 0.5355 MB / 303.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1473, allocations: 1.375 kB / 303.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.1477, allocations: 460.7 kB / 304.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1482, allocations: 89.52 kB / 304.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1501, allocations: 1.273 MB / 305.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.1502, allocations: 144.9 kB / 305.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.1503, allocations: 75.33 kB / 305.9 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1505, allocations: 52.45 kB / 306 MB, free: 16.29 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1505, allocations: 0 / 306 MB, free: 16.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01021/0.1607, allocations: 9.707 MB / 315.7 MB, free: 9.445 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.046268170699477]