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.001197/0.001197, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001232/0.001232, allocations: 147.1 kB / 24.89 MB, free: 8.742 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.9467/0.9467, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.022e-06/1.022e-06, allocations: 0 / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.245e-05, allocations: 6.25 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005968/0.00598, allocations: 7.451 MB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.009922, allocations: 2.717 MB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.01052, allocations: 87.38 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.01139, allocations: 0.578 MB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.01266, allocations: 0.8073 MB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.01326, allocations: 423.3 kB / 280.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.01563, allocations: 3.412 MB / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.01721, allocations: 1.992 MB / 285.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.0198, allocations: 2.876 MB / 288.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1106/0.1304, allocations: 1.878 MB / 290.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.1315, allocations: 453.2 kB / 291.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1328, allocations: 0.6412 MB / 291.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009215/0.1338, allocations: 1.256 MB / 293 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.136, allocations: 1.345 MB / 294.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.14, allocations: 3.288 MB / 297.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.14, allocations: 0 / 297.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.14, allocations: 3.969 kB / 297.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.1402, allocations: 1.344 kB / 297.7 MB, free: 17.92 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.006036/0.1462, allocations: 3.509 MB / 301.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1462, allocations: 11.52 kB / 301.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1472, allocations: 0.5147 MB / 301.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.1492, allocations: 1.358 MB / 303.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1493, allocations: 222.4 kB / 303.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.1496, allocations: 289.1 kB / 303.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.1523, allocations: 2.349 MB / 305.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.1523, allocations: 5.016 kB / 305.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.1525, allocations: 123.8 kB / 306 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.1527, allocations: 138.8 kB / 306.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1539, allocations: 0.8207 MB / 307 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007831/0.1618, allocations: 6.43 MB / 313.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1625, allocations: 0.7855 MB / 314.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.1633, allocations: 0.7468 MB / 315 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.1635, allocations: 52.03 kB / 315 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1635, allocations: 46.94 kB / 315 MB, free: 10.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.298e-06/0.1635, allocations: 0 / 315 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002909/0.1664, allocations: 1.893 MB / 316.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1664, allocations: 94.42 kB / 317 MB, free: 8.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.1672, allocations: 1.098 MB / 318.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.1673, allocations: 52.91 kB / 318.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1675, allocations: 1.147 MB / 319.3 MB, free: 6.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1677, allocations: 471.6 kB / 319.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.1679, allocations: 249.2 kB / 320 MB, free: 5.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.281e-05/0.1679, allocations: 301.1 kB / 320.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.1681, allocations: 178.8 kB / 320.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1684, allocations: 0.5296 MB / 321 MB, free: 4.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.169, allocations: 0.8312 MB / 321.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.169, allocations: 7.062 kB / 321.9 MB, free: 3.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001057/0.1701, allocations: 0.9558 MB / 322.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1701, allocations: 8 kB / 322.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1701, allocations: 15.94 kB / 322.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/0.1709, allocations: 370.2 kB / 323.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.1715, allocations: 293.6 kB / 323.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.1733, allocations: 2.541 MB / 326 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.1739, allocations: 55.95 kB / 326.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.174, allocations: 44 kB / 326.1 MB, free: 15.3 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.0005829/0.1745, allocations: 198.9 kB / 326.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.1748, allocations: 155.8 kB / 326.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.1757, allocations: 0.8098 MB / 327.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.1758, allocations: 16 kB / 327.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1758, allocations: 4 kB / 327.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.1758, allocations: 11.91 kB / 327.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.1789, allocations: 2.595 MB / 329.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1789, allocations: 0 / 329.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.1793, allocations: 187.6 kB / 330.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007958/0.1801, allocations: 358.8 kB / 330.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.1802, allocations: 27.98 kB / 330.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.1822, allocations: 2.563 MB / 333 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1822, allocations: 0 / 333 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.1835, allocations: 1.145 MB / 334.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.1838, allocations: 218.8 kB / 334.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.184, allocations: 24.03 kB / 334.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.1843, allocations: 74.03 kB / 334.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.1845, allocations: 92.56 kB / 334.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.1845, allocations: 28 kB / 334.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004773/0.185, allocations: 0.5528 MB / 335.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.185, allocations: 4 kB / 335.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001271/0.1863, allocations: 0.5415 MB / 335.7 MB, free: 6.113 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.0004245/0.1867, allocations: 211.8 kB / 335.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1878, allocations: 0.9485 MB / 336.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/0.1878, allocations: 20.5 kB / 336.9 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.1885, allocations: 0.636 MB / 337.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/0.1894, allocations: 417.2 kB / 337.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.1949, allocations: 4.643 MB / 342.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.1955, allocations: 0.715 MB / 343.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000566/0.1961, allocations: 218.1 kB / 343.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.1968, allocations: 439.1 kB / 343.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1968, allocations: 0 / 343.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of Templates: time 0.03609/0.2329, allocations: 27.81 MB / 371.7 MB, free: 2.594 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 -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.2616706122644246]