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.0009565/0.0009565, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0009048/0.0009048, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9832/0.9832, allocations: 173.3 MB / 201.1 MB, free: 9.332 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.723e-06/1.723e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.818e-05, allocations: 10.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00658/0.006598, allocations: 7.65 MB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.009821, allocations: 2.629 MB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.01034, allocations: 91.31 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.01127, allocations: 0.5858 MB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.01239, allocations: 0.7956 MB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.0129, allocations: 423.3 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.01509, allocations: 3.396 MB / 283.6 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.01675, allocations: 1.964 MB / 285.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.01896, allocations: 2.529 MB / 288.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.02069, allocations: 2.004 MB / 290.1 MB, free: 256 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1164/0.1371, allocations: 460.2 kB / 290.5 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.139, allocations: 0.6487 MB / 291.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000975/0.1399, allocations: 1.314 MB / 292.5 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.142, allocations: 1.374 MB / 293.8 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.1457, allocations: 3.35 MB / 297.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1457, allocations: 0.625 kB / 297.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1457, allocations: 3.172 kB / 297.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.58e-05/0.1457, allocations: 1.344 kB / 297.2 MB, free: 18.94 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.00489/0.1506, allocations: 4.023 MB / 301.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1507, allocations: 10.64 kB / 301.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00092/0.1516, allocations: 0.6373 MB / 301.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.1536, allocations: 1.938 MB / 303.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1537, allocations: 220.8 kB / 304 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.154, allocations: 289.5 kB / 304.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.157, allocations: 2.486 MB / 306.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.1571, allocations: 6.672 kB / 306.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.1573, allocations: 116.7 kB / 306.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.1574, allocations: 141.2 kB / 307.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.1592, allocations: 1.012 MB / 308.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007894/0.1671, allocations: 8.328 MB / 316.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.168, allocations: 0.8594 MB / 317.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/0.169, allocations: 0.7897 MB / 318 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.1692, allocations: 52.97 kB / 318.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1692, allocations: 61.84 kB / 318.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.645e-06/0.1692, allocations: 0 / 318.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.003332/0.1725, allocations: 2.722 MB / 320.9 MB, free: 4.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1726, allocations: 90.42 kB / 321 MB, free: 4.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1737, allocations: 1.397 MB / 322.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.1737, allocations: 53.7 kB / 322.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.1742, allocations: 1.453 MB / 323.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.1744, allocations: 491.8 kB / 324.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.1746, allocations: 291.7 kB / 324.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.1746, allocations: 476.8 kB / 325.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.175, allocations: 227.8 kB / 325.3 MB, free: 8 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.1757, allocations: 0.7631 MB / 326.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.1767, allocations: 1.065 MB / 327.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1767, allocations: 4 kB / 327.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.001702/0.1784, allocations: 1.309 MB / 328.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.1785, allocations: 15.94 kB / 328.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1785, allocations: 8 kB / 328.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.1794, allocations: 381.5 kB / 328.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.1801, allocations: 336.5 kB / 329.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.183, allocations: 3.333 MB / 332.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.1835, allocations: 79.45 kB / 332.6 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/0.1836, allocations: 68.02 kB / 332.7 MB, free: 8.32 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 (158): * Single equations (assignments): 153 * 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.0004441/0.184, allocations: 244.7 kB / 332.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.1843, allocations: 230.8 kB / 333.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.1857, allocations: 1.05 MB / 334.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.1857, allocations: 19.94 kB / 334.2 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1857, allocations: 4 kB / 334.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1857, allocations: 14.78 kB / 334.2 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.1898, allocations: 3.474 MB / 337.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1898, allocations: 0 / 337.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.1903, allocations: 227.3 kB / 337.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009214/0.1912, allocations: 378.6 kB / 338.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.1913, allocations: 43.44 kB / 338.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.1938, allocations: 3.294 MB / 341.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1938, allocations: 3.75 kB / 341.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.1957, allocations: 1.536 MB / 343.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.1962, allocations: 334.8 kB / 343.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.1963, allocations: 28 kB / 343.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.1968, allocations: 99.86 kB / 343.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.1969, allocations: 100.5 kB / 343.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.197, allocations: 39.98 kB / 343.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008451/0.1978, allocations: 0.8184 MB / 344.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1978, allocations: 0 / 344.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001213/0.199, allocations: 0.5563 MB / 345.1 MB, free: 11.72 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 99 * 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.0004442/0.1995, allocations: 228.2 kB / 345.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.201, allocations: 1.204 MB / 346.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.201, allocations: 2.953 kB / 346.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.202, allocations: 0.7772 MB / 347.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2031, allocations: 436.9 kB / 347.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.2087, allocations: 4.865 MB / 352.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.2093, allocations: 0.8713 MB / 353.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006237/0.2099, allocations: 369.8 kB / 353.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.2102, allocations: 124.5 kB / 354 MB, free: 2.812 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2102, allocations: 3.844 kB / 354 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Templates: time 0.03158/0.2418, allocations: 27.7 MB / 381.7 MB, free: 7.52 MB / 330.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.577529553323984]