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.001197/0.001197, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001339/0.001339, allocations: 161 kB / 24.56 MB, free: 16 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 0.9562/0.9562, allocations: 177.2 MB / 205 MB, free: 5.609 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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.965e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004331/0.00436, allocations: 3.773 MB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.00658, allocations: 1.079 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.00693, allocations: 35.75 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.007238, allocations: 158.8 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.008315, allocations: 322 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.008626, allocations: 135.8 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.009899, allocations: 1.462 MB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008992/0.0108, allocations: 0.6396 MB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.01208, allocations: 0.9628 MB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.01322, allocations: 0.7873 MB / 282.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.01355, allocations: 160 kB / 282.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.01385, allocations: 160 kB / 282.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.01422, allocations: 498.6 kB / 283.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009397/0.01516, allocations: 0.5262 MB / 283.6 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.0164, allocations: 1.246 MB / 284.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.01641, allocations: 0 / 284.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01641, allocations: 0 / 284.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.01646, allocations: 0 / 284.9 MB, free: 5.551 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.00232/0.01878, allocations: 1.805 MB / 286.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.01882, allocations: 8.031 kB / 286.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.01927, allocations: 264 kB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.02049, allocations: 0.783 MB / 287.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.02055, allocations: 82.62 kB / 287.8 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.02067, allocations: 112.4 kB / 287.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.02215, allocations: 1.04 MB / 289 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.02217, allocations: 3.984 kB / 289 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.02225, allocations: 52 kB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.02227, allocations: 24 kB / 289 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.02307, allocations: 385 kB / 289.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1419/0.165, allocations: 3.449 MB / 292.9 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.1656, allocations: 366 kB / 293.2 MB, free: 24.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.1662, allocations: 261.7 kB / 293.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1662, allocations: 11.38 kB / 293.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1662, allocations: 42.91 kB / 293.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.986e-06/0.1662, allocations: 1.219 kB / 293.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008978/0.1671, allocations: 403.3 kB / 293.9 MB, free: 23.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1672, allocations: 60.84 kB / 294 MB, free: 23.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009519/0.1681, allocations: 0.6938 MB / 294.7 MB, free: 23.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.1681, allocations: 35.88 kB / 294.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.1686, allocations: 0.6334 MB / 295.4 MB, free: 23.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.1688, allocations: 192.2 kB / 295.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.1689, allocations: 111.1 kB / 295.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1691, allocations: 0.5819 MB / 296.2 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1692, allocations: 72.33 kB / 296.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1695, allocations: 211.8 kB / 296.5 MB, free: 22.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.17, allocations: 315.4 kB / 296.8 MB, free: 22.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.17, allocations: 4.406 kB / 296.8 MB, free: 22.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008425/0.1708, allocations: 416.6 kB / 297.2 MB, free: 22.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1708, allocations: 6.594 kB / 297.2 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1708, allocations: 5.875 kB / 297.2 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1709, allocations: 6.281 kB / 297.2 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.1714, allocations: 143 kB / 297.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1714, allocations: 14.33 kB / 297.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.1718, allocations: 59.62 kB / 297.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.1718, allocations: 18.78 kB / 297.5 MB, free: 22.14 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.0002953/0.1721, allocations: 185.3 kB / 297.7 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.1722, allocations: 97.34 kB / 297.7 MB, free: 21.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.1723, allocations: 81 kB / 297.8 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1723, allocations: 6.172 kB / 297.8 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.1723, allocations: 3.938 kB / 297.8 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1723, allocations: 4.078 kB / 297.8 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1742, allocations: 1.415 MB / 299.3 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1742, allocations: 5.719 kB / 299.3 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.1745, allocations: 118.3 kB / 299.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.1746, allocations: 3.844 kB / 299.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.1746, allocations: 14.94 kB / 299.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.1746, allocations: 3.016 kB / 299.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1746, allocations: 1.312 kB / 299.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.1754, allocations: 0.6324 MB / 300 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1755, allocations: 92.59 kB / 300.1 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.1755, allocations: 18.64 kB / 300.1 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1758, allocations: 41.41 kB / 300.2 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.1758, allocations: 48.55 kB / 300.2 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.1759, allocations: 16.12 kB / 300.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004517/0.1763, allocations: 438.7 kB / 300.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1763, allocations: 0 / 300.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007042/0.177, allocations: 294.5 kB / 301 MB, free: 20.4 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.0001292/0.1772, allocations: 119.2 kB / 301.1 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.1776, allocations: 281.6 kB / 301.4 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1776, allocations: 5.219 kB / 301.4 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1778, allocations: 155.3 kB / 301.5 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.1784, allocations: 169.5 kB / 301.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.1847, allocations: 1.958 MB / 303.6 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.1853, allocations: 367.4 kB / 304 MB, free: 18.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005385/0.1858, allocations: 155.3 kB / 304.1 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.186, allocations: 55.84 kB / 304.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of SimCode: time 2.034e-06/0.186, allocations: 1.188 kB / 304.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01786/0.2038, allocations: 10.25 MB / 314.5 MB, free: 10.99 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: 2.9203489921055734]