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.0009698/0.0009698, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009588/0.0009588, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.9932/0.9932, allocations: 177 MB / 205.1 MB, free: 5.484 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.664e-06/1.664e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.138e-05, allocations: 9.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00595/0.005971, allocations: 7.478 MB / 280.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.009418, allocations: 2.69 MB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.01005, allocations: 95.31 kB / 283.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.01095, allocations: 0.5862 MB / 284.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01217, allocations: 0.8111 MB / 285 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.01276, allocations: 439.2 kB / 285.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.01481, allocations: 3.407 MB / 288.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1037/0.1185, allocations: 1.958 MB / 290.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.1229, allocations: 2.922 MB / 293.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.1255, allocations: 1.895 MB / 295.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009405/0.1265, allocations: 453.8 kB / 296.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.1276, allocations: 0.6508 MB / 296.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1286, allocations: 1.268 MB / 298 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.1302, allocations: 1.351 MB / 299.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.133, allocations: 3.311 MB / 302.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.133, allocations: 0.9375 kB / 302.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.133, allocations: 1.688 kB / 302.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.1331, allocations: 2.031 kB / 302.6 MB, free: 14.12 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.004242/0.1373, allocations: 3.879 MB / 306.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1373, allocations: 13.98 kB / 306.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.1384, allocations: 0.6796 MB / 307.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.1403, allocations: 1.878 MB / 309.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1405, allocations: 218.8 kB / 309.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.1408, allocations: 295.9 kB / 309.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.1434, allocations: 2.296 MB / 311.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.1434, allocations: 3.656 kB / 311.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.1436, allocations: 122.5 kB / 312 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.1438, allocations: 152.6 kB / 312.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1451, allocations: 0.7709 MB / 312.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007031/0.1521, allocations: 8.08 MB / 321 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.1528, allocations: 0.8114 MB / 321.8 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000907/0.1537, allocations: 0.784 MB / 322.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.1538, allocations: 46.86 kB / 322.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1538, allocations: 54.39 kB / 322.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.475e-06/0.1538, allocations: 0 / 322.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.002649/0.1565, allocations: 2.143 MB / 324.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1565, allocations: 94.42 kB / 324.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.1575, allocations: 1.341 MB / 326.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.1576, allocations: 53.64 kB / 326.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/0.1582, allocations: 1.472 MB / 327.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.1585, allocations: 491 kB / 328.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.1587, allocations: 298.5 kB / 328.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1588, allocations: 476.8 kB / 329 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.1591, allocations: 163.9 kB / 329.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.1595, allocations: 0.7167 MB / 329.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.1603, allocations: 0.9614 MB / 330.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1603, allocations: 4 kB / 330.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001336/0.1616, allocations: 1.202 MB / 332.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1617, allocations: 8 kB / 332.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1617, allocations: 16 kB / 332.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/0.1625, allocations: 377 kB / 332.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.1631, allocations: 294 kB / 332.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.1654, allocations: 3.223 MB / 336 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.1658, allocations: 58.98 kB / 336 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.1659, allocations: 48 kB / 336.1 MB, free: 1.793 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.0003415/0.1662, allocations: 249.5 kB / 336.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.1665, allocations: 226 kB / 336.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1675, allocations: 0.9489 MB / 337.5 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.1675, allocations: 23.75 kB / 337.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1675, allocations: 4 kB / 337.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1676, allocations: 7.969 kB / 337.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.1709, allocations: 3.225 MB / 340.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1709, allocations: 8.031 kB / 340.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.1713, allocations: 186.4 kB / 341 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000818/0.1721, allocations: 362.7 kB / 341.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.1722, allocations: 43.05 kB / 341.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.1743, allocations: 3.172 MB / 344.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1743, allocations: 3.375 kB / 344.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.1758, allocations: 1.357 MB / 345.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.1761, allocations: 286.7 kB / 346.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1762, allocations: 27.98 kB / 346.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.1766, allocations: 71.03 kB / 346.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.1767, allocations: 92.75 kB / 346.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.1768, allocations: 31.98 kB / 346.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005476/0.1773, allocations: 0.732 MB / 347.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1773, allocations: 0 / 347.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008672/0.1782, allocations: 0.5384 MB / 347.7 MB, free: 6.586 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.0003366/0.1785, allocations: 226.6 kB / 347.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1796, allocations: 1.102 MB / 349 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1796, allocations: 256 / 349 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.1803, allocations: 0.7352 MB / 349.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.1813, allocations: 426 kB / 350.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.1862, allocations: 4.733 MB / 354.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.1869, allocations: 0.8796 MB / 355.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.1873, allocations: 226.1 kB / 356 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.1881, allocations: 493.9 kB / 356.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1881, allocations: 0 / 356.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Templates: time 0.0321/0.2202, allocations: 27.82 MB / 384.3 MB, free: 2.43 MB / 330.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.239745712839067]