Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.000944/0.000944, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001031/0.001031, allocations: 142 kB / 24.89 MB, free: 8.781 MB / 18.57 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 0.9484/0.9484, allocations: 173.4 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.201e-05, allocations: 6.312 kB / 268.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005714/0.005726, allocations: 7.49 MB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.008767, allocations: 2.721 MB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.009174, allocations: 87.38 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.00998, allocations: 0.5858 MB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01101, allocations: 0.7995 MB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.01156, allocations: 423.2 kB / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.01367, allocations: 3.408 MB / 284 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.01512, allocations: 1.996 MB / 286 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.01758, allocations: 2.88 MB / 288.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1016/0.1192, allocations: 1.88 MB / 290.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.1205, allocations: 452.4 kB / 291.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1217, allocations: 0.6453 MB / 291.9 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008763/0.1226, allocations: 1.257 MB / 293.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1246, allocations: 1.346 MB / 294.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.1278, allocations: 3.288 MB / 297.8 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1278, allocations: 0 / 297.8 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1278, allocations: 0.6875 kB / 297.8 MB, free: 17.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.1279, allocations: 4.547 kB / 297.8 MB, free: 17.9 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004413/0.1323, allocations: 3.512 MB / 301.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1323, allocations: 9.891 kB / 301.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.1331, allocations: 0.5116 MB / 301.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1347, allocations: 1.357 MB / 303.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.1348, allocations: 224 kB / 303.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.1351, allocations: 292 kB / 303.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.1372, allocations: 2.349 MB / 306 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.1372, allocations: 7 kB / 306 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.1374, allocations: 122.5 kB / 306.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/0.1375, allocations: 143.3 kB / 306.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1386, allocations: 0.8181 MB / 307.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/0.1445, allocations: 6.429 MB / 313.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.1452, allocations: 0.78 MB / 314.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.1459, allocations: 0.7507 MB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.146, allocations: 43.25 kB / 315.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1461, allocations: 50.47 kB / 315.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.1461, allocations: 0 / 315.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002271/0.1483, allocations: 1.899 MB / 317 MB, free: 8.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.1484, allocations: 94.42 kB / 317.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.149, allocations: 1.095 MB / 318.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.1491, allocations: 45.7 kB / 318.3 MB, free: 7.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.1493, allocations: 1.152 MB / 319.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1495, allocations: 467.7 kB / 319.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1497, allocations: 251.2 kB / 320.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.073e-05/0.1497, allocations: 301.1 kB / 320.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.1499, allocations: 182.8 kB / 320.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1502, allocations: 0.5377 MB / 321.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.1508, allocations: 0.8264 MB / 322 MB, free: 3.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1508, allocations: 0 / 322 MB, free: 3.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001016/0.1518, allocations: 0.9569 MB / 322.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1518, allocations: 12 kB / 322.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1518, allocations: 11.94 kB / 322.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/0.1526, allocations: 370.6 kB / 323.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.1533, allocations: 331.5 kB / 323.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.1552, allocations: 2.559 MB / 326.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.1556, allocations: 51.92 kB / 326.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.1557, allocations: 50.09 kB / 326.3 MB, free: 15.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.1561, allocations: 201.1 kB / 326.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.1563, allocations: 153.7 kB / 326.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1573, allocations: 0.8107 MB / 327.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.1573, allocations: 19.98 kB / 327.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1573, allocations: 4 kB / 327.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1574, allocations: 3.984 kB / 327.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.161, allocations: 2.586 MB / 330.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.161, allocations: 12.12 kB / 330.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.1617, allocations: 218.8 kB / 330.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.1627, allocations: 357.6 kB / 330.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.1628, allocations: 35.58 kB / 330.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.1654, allocations: 2.587 MB / 333.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1654, allocations: 0 / 333.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.167, allocations: 1.142 MB / 334.4 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.1674, allocations: 222.8 kB / 334.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.1676, allocations: 28 kB / 334.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.1681, allocations: 63.95 kB / 334.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.1682, allocations: 87.86 kB / 334.8 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.1683, allocations: 32 kB / 334.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.1689, allocations: 0.549 MB / 335.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 4 kB / 335.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001315/0.1702, allocations: 0.5384 MB / 335.9 MB, free: 5.941 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004451/0.1706, allocations: 226.5 kB / 336.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.172, allocations: 0.9481 MB / 337.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.502e-05/0.172, allocations: 20.5 kB / 337.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.1729, allocations: 0.6357 MB / 337.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.1742, allocations: 421.4 kB / 338.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/0.1804, allocations: 4.638 MB / 342.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.1811, allocations: 0.7147 MB / 343.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006382/0.1818, allocations: 222.1 kB / 343.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000912/0.1827, allocations: 439.1 kB / 344.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1827, allocations: 0 / 344.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Templates: time 0.03978/0.2225, allocations: 27.81 MB / 372 MB, free: 2.414 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.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.1491554407402873]