Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001311/0.001311, 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.001444/0.001444, 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.967/0.967, 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.122e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003596/0.003617, allocations: 3.471 MB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005449, allocations: 1.632 MB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.005596, allocations: 11.94 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.007604, allocations: 2.678 MB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.007975, allocations: 226.4 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.008404, allocations: 323.2 kB / 281.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.00951, allocations: 1.84 MB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.009665, allocations: 96.31 kB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.01003, allocations: 433.1 kB / 283.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.01028, allocations: 299.2 kB / 283.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.01034, allocations: 44 kB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.01048, allocations: 95.91 kB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.01088, allocations: 0.861 MB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.01118, allocations: 474.1 kB / 285.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01223, allocations: 1.506 MB / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.01223, allocations: 0 / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01223, allocations: 0 / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.868e-05/0.01225, allocations: 0 / 286.9 MB, free: 3.445 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002284/0.01454, allocations: 3.059 MB / 289.9 MB, free: 336 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01457, allocations: 12.03 kB / 289.9 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1088/0.1234, allocations: 333.2 kB / 290.2 MB, free: 22.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.1255, allocations: 1.302 MB / 291.6 MB, free: 22.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.1256, allocations: 113.1 kB / 291.7 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.1257, allocations: 45.48 kB / 291.7 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.1263, allocations: 385.6 kB / 292.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1263, allocations: 3.938 kB / 292.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.1263, allocations: 16.16 kB / 292.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1263, allocations: 10.22 kB / 292.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1267, allocations: 195 kB / 292.3 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.13, allocations: 2.704 MB / 295 MB, free: 21.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1303, allocations: 251 kB / 295.3 MB, free: 21.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1305, allocations: 112 kB / 295.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1305, allocations: 8.953 kB / 295.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1305, allocations: 44.23 kB / 295.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.1305, allocations: 0.6562 kB / 295.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003002/0.1335, allocations: 2.114 MB / 297.5 MB, free: 20.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1336, allocations: 82.77 kB / 297.6 MB, free: 20.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.1376, allocations: 3.521 MB / 301.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1377, allocations: 34.8 kB / 301.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.1387, allocations: 1.443 MB / 302.6 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.1388, allocations: 168.7 kB / 302.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1389, allocations: 98.08 kB / 302.9 MB, free: 17.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.1389, allocations: 0.4915 MB / 303.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1391, allocations: 71.41 kB / 303.4 MB, free: 17.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1393, allocations: 180.2 kB / 303.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.1396, allocations: 281.8 kB / 303.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1396, allocations: 4.656 kB / 303.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007473/0.1404, allocations: 0.5955 MB / 304.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1404, allocations: 8.094 kB / 304.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1404, allocations: 3.297 kB / 304.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1404, allocations: 10.81 kB / 304.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.1408, allocations: 117.4 kB / 304.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1408, allocations: 5.891 kB / 304.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.141, allocations: 18.41 kB / 304.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1411, allocations: 17.14 kB / 304.7 MB, free: 16.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.1413, allocations: 184 kB / 304.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.1415, allocations: 300.8 kB / 305.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.1422, allocations: 0.5792 MB / 305.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1422, allocations: 8.391 kB / 305.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1422, allocations: 1.625 kB / 305.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1423, allocations: 5.906 kB / 305.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.1437, allocations: 1.523 MB / 307.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1438, allocations: 0 / 307.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.144, allocations: 95.55 kB / 307.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/0.1443, allocations: 70.95 kB / 307.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1443, allocations: 16.81 kB / 307.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002993/0.1446, allocations: 0.8506 MB / 308.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1446, allocations: 3.812 kB / 308.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.1454, allocations: 0.9896 MB / 309.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.1459, allocations: 406.3 kB / 309.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.1461, allocations: 8 kB / 309.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.1464, allocations: 22.19 kB / 309.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1465, allocations: 34.39 kB / 309.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1465, allocations: 12.34 kB / 309.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001978/0.1485, allocations: 2.043 MB / 311.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1485, allocations: 0 / 311.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005342/0.149, allocations: 206.5 kB / 312 MB, free: 11.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007635/0.1498, allocations: 401.4 kB / 312.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.15, allocations: 267.2 kB / 312.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.15, allocations: 0 / 312.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1502, allocations: 160.3 kB / 312.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.1508, allocations: 196.5 kB / 313 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1538, allocations: 3.971 MB / 317 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1541, allocations: 0.559 MB / 317.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1543, allocations: 171.8 kB / 317.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.1545, allocations: 92.48 kB / 317.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1545, allocations: 0 / 317.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of Templates: time 0.01956/0.174, allocations: 15.37 MB / 333.1 MB, free: 7.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.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.0156331988982856]