Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001016/0.001016, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001004/0.001004, allocations: 161 kB / 24.56 MB, free: 20 kB / 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 1.032/1.032, allocations: 177.2 MB / 205 MB, free: 5.297 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.91e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004138/0.004167, allocations: 3.785 MB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.005738, allocations: 1.067 MB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.005948, allocations: 31.81 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.006243, allocations: 162.8 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007606/0.007004, allocations: 314 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.007226, allocations: 135.8 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.008263, allocations: 1.466 MB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006259/0.008889, allocations: 0.6513 MB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.009741, allocations: 0.959 MB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.0105, allocations: 0.7795 MB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.01066, allocations: 156 kB / 282.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.01086, allocations: 168 kB / 282.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.01116, allocations: 494.6 kB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.01158, allocations: 0.5184 MB / 283.6 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.01258, allocations: 1.262 MB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01258, allocations: 0 / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01258, allocations: 0 / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.0126, allocations: 0 / 284.9 MB, free: 5.41 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001841/0.01444, allocations: 1.801 MB / 286.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.01449, allocations: 12.03 kB / 286.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.01487, allocations: 264 kB / 287 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.01574, allocations: 0.7713 MB / 287.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.01579, allocations: 90.61 kB / 287.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.01591, allocations: 112.4 kB / 287.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.01711, allocations: 1.04 MB / 289 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.01713, allocations: 0 / 289 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.01719, allocations: 44 kB / 289 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.01722, allocations: 28 kB / 289 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.0179, allocations: 381 kB / 289.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1504/0.1683, allocations: 3.457 MB / 292.9 MB, free: 24.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.1689, allocations: 368 kB / 293.2 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.1694, allocations: 265.4 kB / 293.5 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1695, allocations: 10.06 kB / 293.5 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1695, allocations: 42.11 kB / 293.5 MB, free: 23.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 4.098e-06/0.1695, allocations: 0 / 293.5 MB, free: 23.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0007911/0.1703, allocations: 402.4 kB / 293.9 MB, free: 23.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1703, allocations: 60.28 kB / 294 MB, free: 23.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.1711, allocations: 0.6946 MB / 294.7 MB, free: 23.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.1711, allocations: 34.55 kB / 294.7 MB, free: 23.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.1714, allocations: 0.6306 MB / 295.3 MB, free: 23.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1715, allocations: 191.9 kB / 295.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1717, allocations: 112.4 kB / 295.6 MB, free: 23.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1719, allocations: 0.5855 MB / 296.2 MB, free: 22.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.172, allocations: 74.36 kB / 296.3 MB, free: 22.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1722, allocations: 210.6 kB / 296.5 MB, free: 22.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1726, allocations: 314 kB / 296.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1726, allocations: 1.562 kB / 296.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006242/0.1732, allocations: 421.2 kB / 297.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1733, allocations: 6.625 kB / 297.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.1733, allocations: 2.906 kB / 297.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.1733, allocations: 6.906 kB / 297.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1737, allocations: 150.2 kB / 297.4 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1737, allocations: 5.328 kB / 297.4 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1739, allocations: 55.62 kB / 297.4 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.174, allocations: 23.83 kB / 297.5 MB, free: 22.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.1742, allocations: 184 kB / 297.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.1743, allocations: 98.2 kB / 297.7 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.1743, allocations: 80.8 kB / 297.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1743, allocations: 6.531 kB / 297.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1744, allocations: 4.031 kB / 297.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1744, allocations: 1.969 kB / 297.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1762, allocations: 1.419 MB / 299.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1762, allocations: 2.406 kB / 299.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.1765, allocations: 116.4 kB / 299.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1765, allocations: 11.28 kB / 299.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.1766, allocations: 13.92 kB / 299.4 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1766, allocations: 7.688 kB / 299.4 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1766, allocations: 4.656 kB / 299.4 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.1772, allocations: 0.6266 MB / 300 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1774, allocations: 88.48 kB / 300.1 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.1774, allocations: 18.25 kB / 300.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1776, allocations: 48.97 kB / 300.2 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.1777, allocations: 39.17 kB / 300.2 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1777, allocations: 17.12 kB / 300.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004193/0.1781, allocations: 442.3 kB / 300.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1781, allocations: 0 / 300.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006789/0.1788, allocations: 293 kB / 301 MB, free: 20.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.179, allocations: 119.5 kB / 301.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.1794, allocations: 281.9 kB / 301.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1794, allocations: 1.281 kB / 301.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1796, allocations: 158.6 kB / 301.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.1802, allocations: 165 kB / 301.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.1834, allocations: 1.958 MB / 303.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1837, allocations: 363.8 kB / 304 MB, free: 18.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000344/0.1841, allocations: 152.5 kB / 304.1 MB, free: 18.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1842, allocations: 52.95 kB / 304.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1842, allocations: 1.781 kB / 304.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of Templates: time 0.0151/0.1993, allocations: 9.799 MB / 314 MB, free: 11.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.312590847723186]