Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 168.2 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.082e-05, allocations: 5.125 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006161/0.006182, allocations: 7.467 MB / 280.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.01019, allocations: 2.783 MB / 283.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.011, allocations: 91.31 kB / 283.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.01197, allocations: 0.5822 MB / 284.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.01343, allocations: 0.8073 MB / 285.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.01437, allocations: 423.3 kB / 285.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.01678, allocations: 3.415 MB / 289 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.112/0.1288, allocations: 1.988 MB / 291 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.1329, allocations: 2.88 MB / 293.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.1356, allocations: 1.879 MB / 295.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.1367, allocations: 454.1 kB / 296.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1378, allocations: 0.6416 MB / 296.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009664/0.1388, allocations: 1.261 MB / 298.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.141, allocations: 1.34 MB / 299.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.1445, allocations: 3.293 MB / 302.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1445, allocations: 0.9375 kB / 302.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1445, allocations: 0 / 302.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001386/0.1447, allocations: 2.469 kB / 302.7 MB, free: 14.18 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.004309/0.149, allocations: 3.529 MB / 306.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.149, allocations: 9.375 kB / 306.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.1499, allocations: 0.5518 MB / 306.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.1515, allocations: 1.378 MB / 308.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.1516, allocations: 220.7 kB / 308.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.1518, allocations: 291.2 kB / 308.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.1539, allocations: 2.348 MB / 311.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1539, allocations: 3.938 kB / 311.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.1541, allocations: 126.1 kB / 311.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.339e-05/0.1542, allocations: 144 kB / 311.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.1552, allocations: 0.8175 MB / 312.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.1618, allocations: 6.435 MB / 318.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.1625, allocations: 0.7851 MB / 319.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.1632, allocations: 0.7386 MB / 320.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.1634, allocations: 47.64 kB / 320.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1634, allocations: 55.5 kB / 320.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.456e-06/0.1634, allocations: 4 kB / 320.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002712/0.1661, allocations: 1.9 MB / 322.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1662, allocations: 90.42 kB / 322.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008428/0.167, allocations: 1.096 MB / 323.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.1671, allocations: 49.7 kB / 323.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.1676, allocations: 1.156 MB / 324.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.1678, allocations: 473.5 kB / 325 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.1681, allocations: 250.1 kB / 325.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.1681, allocations: 301.1 kB / 325.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1684, allocations: 182.8 kB / 325.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.1689, allocations: 0.5339 MB / 326.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.1698, allocations: 0.825 MB / 327 MB, free: 11.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1698, allocations: 4 kB / 327 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001708/0.1715, allocations: 0.9535 MB / 328 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1716, allocations: 12 kB / 328 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.1716, allocations: 11.94 kB / 328 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.1727, allocations: 368.6 kB / 328.4 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.1735, allocations: 294.5 kB / 328.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.1761, allocations: 2.542 MB / 331.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.1767, allocations: 63.88 kB / 331.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.177, allocations: 49.73 kB / 331.3 MB, free: 6.855 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.0005639/0.1775, allocations: 200.6 kB / 331.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.1778, allocations: 151.8 kB / 331.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.1791, allocations: 0.8003 MB / 332.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.1791, allocations: 20 kB / 332.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1791, allocations: 4 kB / 332.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.1791, allocations: 11.91 kB / 332.5 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.1828, allocations: 2.581 MB / 335.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1828, allocations: 7.984 kB / 335.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.1834, allocations: 186.6 kB / 335.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.1844, allocations: 354 kB / 335.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.1845, allocations: 31.98 kB / 335.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.187, allocations: 2.563 MB / 338.2 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.187, allocations: 0 / 338.2 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.189, allocations: 1.148 MB / 339.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.1894, allocations: 218.8 kB / 339.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.1896, allocations: 28 kB / 339.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.1901, allocations: 63.98 kB / 339.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1902, allocations: 91.23 kB / 339.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.1903, allocations: 31.98 kB / 339.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005856/0.1909, allocations: 0.5544 MB / 340.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1909, allocations: 0 / 340.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001435/0.1923, allocations: 0.535 MB / 340.9 MB, free: 13.69 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.0004517/0.1928, allocations: 229.6 kB / 341.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1941, allocations: 0.9533 MB / 342 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.551e-05/0.1941, allocations: 20.5 kB / 342.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.195, allocations: 0.6336 MB / 342.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.1963, allocations: 407.1 kB / 343.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006936/0.2032, allocations: 4.671 MB / 347.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.2039, allocations: 0.7075 MB / 348.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000665/0.2046, allocations: 222.1 kB / 348.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/0.2055, allocations: 443.1 kB / 349.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2055, allocations: 0 / 349.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Templates: time 0.039/0.2445, allocations: 27.76 MB / 376.9 MB, free: 10.19 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.185085240751505]