Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.0009751/0.0009751, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009533/0.0009533, allocations: 160.5 kB / 24.55 MB, free: 16 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.9494/0.9494, allocations: 177 MB / 204.8 MB, free: 5.574 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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.791e-05, allocations: 9.203 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007948/0.007966, allocations: 7.701 MB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.01213, allocations: 2.706 MB / 283.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.01289, allocations: 87.38 kB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01403, allocations: 0.5939 MB / 284 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.0155, allocations: 0.8073 MB / 284.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.01624, allocations: 431.3 kB / 285.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.01911, allocations: 3.415 MB / 288.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1188/0.1379, allocations: 1.957 MB / 290.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.1416, allocations: 2.913 MB / 293.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.1439, allocations: 1.884 MB / 295.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008486/0.1448, allocations: 453.7 kB / 295.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.1458, allocations: 0.645 MB / 296.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008465/0.1466, allocations: 1.272 MB / 297.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.1482, allocations: 1.348 MB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.151, allocations: 3.311 MB / 302.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.151, allocations: 0.5625 kB / 302.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.151, allocations: 0 / 302.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.432e-05/0.1511, allocations: 4.781 kB / 302.4 MB, free: 13.98 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.003733/0.1548, allocations: 3.967 MB / 306.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1549, allocations: 14.42 kB / 306.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.1558, allocations: 0.674 MB / 307.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.1574, allocations: 2 MB / 309.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.1575, allocations: 222.2 kB / 309.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.1577, allocations: 291.4 kB / 309.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.1603, allocations: 2.488 MB / 312.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.1603, allocations: 0 / 312.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.1605, allocations: 128.4 kB / 312.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/0.1605, allocations: 154.6 kB / 312.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1622, allocations: 1.004 MB / 313.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006957/0.1691, allocations: 8.227 MB / 321.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1701, allocations: 0.8916 MB / 322.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.1713, allocations: 0.8629 MB / 323.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.1714, allocations: 56.97 kB / 323.4 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1715, allocations: 46.39 kB / 323.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.375e-06/0.1715, allocations: 0 / 323.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003438/0.1749, allocations: 2.711 MB / 326.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1749, allocations: 90.42 kB / 326.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.1762, allocations: 1.386 MB / 327.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.1762, allocations: 53.08 kB / 327.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006601/0.1769, allocations: 1.463 MB / 329.1 MB, free: 7.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.1772, allocations: 490.4 kB / 329.6 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.1775, allocations: 291.8 kB / 329.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1777, allocations: 476.8 kB / 330.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.1782, allocations: 223.8 kB / 330.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.179, allocations: 0.7574 MB / 331.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.1803, allocations: 1.058 MB / 332.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1803, allocations: 4 kB / 332.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002182/0.1825, allocations: 1.305 MB / 333.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1825, allocations: 15.98 kB / 333.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1825, allocations: 12.19 kB / 333.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.1837, allocations: 381.3 kB / 334.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.1846, allocations: 325.7 kB / 334.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.1879, allocations: 3.348 MB / 337.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.1885, allocations: 67.94 kB / 337.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.1886, allocations: 60 kB / 337.9 MB, free: 14.74 MB / 298.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.0004625/0.1891, allocations: 242.8 kB / 338.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.1894, allocations: 232.8 kB / 338.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.1911, allocations: 1.048 MB / 339.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.1911, allocations: 16 kB / 339.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1911, allocations: 12 kB / 339.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.1911, allocations: 3.984 kB / 339.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/0.196, allocations: 3.369 MB / 342.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.196, allocations: 4 kB / 342.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.1967, allocations: 210.8 kB / 343 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.1978, allocations: 387.8 kB / 343.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.1979, allocations: 34.09 kB / 343.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.201, allocations: 3.283 MB / 346.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.201, allocations: 4 kB / 346.7 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.2032, allocations: 1.494 MB / 348.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.2037, allocations: 314.8 kB / 348.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.2039, allocations: 35.98 kB / 348.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.2044, allocations: 90.42 kB / 348.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.2046, allocations: 96.81 kB / 348.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/0.2047, allocations: 39.98 kB / 348.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00095/0.2056, allocations: 0.7951 MB / 349.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2056, allocations: 0 / 349.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001287/0.2069, allocations: 0.539 MB / 350.1 MB, free: 2.391 MB / 298.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.0004493/0.2074, allocations: 235.9 kB / 350.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2091, allocations: 1.186 MB / 351.5 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2091, allocations: 1.938 kB / 351.5 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.2102, allocations: 0.7874 MB / 352.3 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.2115, allocations: 417.1 kB / 352.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.2179, allocations: 4.787 MB / 357.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.2186, allocations: 0.8757 MB / 358.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008199/0.2195, allocations: 377.8 kB / 358.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.2198, allocations: 116.5 kB / 358.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2198, allocations: 0 / 358.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of Templates: time 0.03379/0.2536, allocations: 27.31 MB / 386.2 MB, free: 14.7 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3335841186344624]