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.0009163/0.0009163, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001092/0.001092, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9276/0.9276, allocations: 177 MB / 205.2 MB, free: 5.035 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.893e-06/1.893e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.192e-05, allocations: 5.266 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01445/0.01447, allocations: 7.494 MB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.01844, allocations: 2.787 MB / 283.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.01897, allocations: 91.31 kB / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.01986, allocations: 0.59 MB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.02092, allocations: 0.8111 MB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.02138, allocations: 435.2 kB / 285.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.02366, allocations: 3.423 MB / 289 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1015/0.1252, allocations: 1.994 MB / 291 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/0.1291, allocations: 2.894 MB / 293.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.1318, allocations: 1.892 MB / 295.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.1328, allocations: 452.6 kB / 296.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1338, allocations: 0.6402 MB / 296.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000953/0.1348, allocations: 1.264 MB / 298.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.1364, allocations: 1.349 MB / 299.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.1389, allocations: 3.311 MB / 302.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1389, allocations: 1.125 kB / 302.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1389, allocations: 0 / 302.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.212e-05/0.139, allocations: 0 / 302.8 MB, free: 13.96 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.003458/0.1425, allocations: 3.543 MB / 306.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1425, allocations: 14.77 kB / 306.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008299/0.1433, allocations: 0.5521 MB / 306.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1448, allocations: 1.38 MB / 308.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.1448, allocations: 222.8 kB / 308.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1451, allocations: 287.5 kB / 308.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.1471, allocations: 2.364 MB / 311.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.1471, allocations: 0 / 311.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.1473, allocations: 122.5 kB / 311.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.555e-05/0.1474, allocations: 158.2 kB / 311.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1484, allocations: 0.8224 MB / 312.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/0.1543, allocations: 6.476 MB / 318.7 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.1549, allocations: 0.7763 MB / 319.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.1557, allocations: 0.7404 MB / 320.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1558, allocations: 52.19 kB / 320.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1558, allocations: 47.56 kB / 320.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/0.1558, allocations: 4 kB / 320.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002286/0.1581, allocations: 1.894 MB / 322.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1582, allocations: 94.41 kB / 322.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007416/0.1589, allocations: 1.101 MB / 323.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.159, allocations: 52.36 kB / 323.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.1594, allocations: 1.155 MB / 324.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.1596, allocations: 471.7 kB / 325.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.1598, allocations: 258 kB / 325.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.1599, allocations: 301.1 kB / 325.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1601, allocations: 190 kB / 325.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.1605, allocations: 0.5291 MB / 326.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.1611, allocations: 0.8224 MB / 327.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1611, allocations: 8 kB / 327.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001066/0.1622, allocations: 0.9511 MB / 328.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1622, allocations: 8 kB / 328.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1622, allocations: 8.188 kB / 328.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00077/0.163, allocations: 374.4 kB / 328.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.1636, allocations: 296.8 kB / 328.8 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.1655, allocations: 2.56 MB / 331.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.1659, allocations: 51.98 kB / 331.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.1659, allocations: 51.38 kB / 331.5 MB, free: 6.336 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.000343/0.1663, allocations: 200.1 kB / 331.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.1665, allocations: 151.8 kB / 331.8 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008794/0.1674, allocations: 0.8065 MB / 332.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.1674, allocations: 23.92 kB / 332.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1674, allocations: 8 kB / 332.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1674, allocations: 7.969 kB / 332.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.1701, allocations: 2.589 MB / 335.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1701, allocations: 0 / 335.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.1705, allocations: 189.6 kB / 335.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007474/0.1712, allocations: 354.4 kB / 335.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.1713, allocations: 31.03 kB / 335.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.1732, allocations: 2.559 MB / 338.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1732, allocations: 7.188 kB / 338.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1744, allocations: 1.143 MB / 339.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.1747, allocations: 218.8 kB / 339.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.1748, allocations: 28.03 kB / 339.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.1752, allocations: 63.02 kB / 339.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1753, allocations: 92.59 kB / 339.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.1753, allocations: 35.98 kB / 339.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004281/0.1757, allocations: 0.5501 MB / 340.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1757, allocations: 4 kB / 340.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.1767, allocations: 0.5455 MB / 341 MB, free: 13.14 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.0003762/0.1771, allocations: 208.2 kB / 341.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.1781, allocations: 0.9524 MB / 342.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.1781, allocations: 24.44 kB / 342.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.1787, allocations: 0.638 MB / 342.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.1796, allocations: 415.6 kB / 343.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.1844, allocations: 4.681 MB / 347.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.185, allocations: 0.7078 MB / 348.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.1854, allocations: 230 kB / 348.9 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.1861, allocations: 431.1 kB / 349.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1861, allocations: 4 kB / 349.3 MB, free: 4.91 MB / 298.7 MB Notification: Performance of Templates: time 0.03229/0.2184, allocations: 27.75 MB / 377.1 MB, free: 9.602 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.1723841591738164]