Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.002567/0.002567, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.00249/0.00249, allocations: 145.1 kB / 24.26 MB, free: 168 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 1.58/1.58, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.97e-05, allocations: 6.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0069/0.00693, allocations: 4.562 MB / 271.9 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.01046, allocations: 1.654 MB / 273.5 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.01097, allocations: 31.81 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.01167, allocations: 262.2 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.01366, allocations: 0.7187 MB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.01425, allocations: 223.5 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.01689, allocations: 1.941 MB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.01795, allocations: 0.6721 MB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.01967, allocations: 1.158 MB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.02132, allocations: 0.9783 MB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.02163, allocations: 188 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007169/0.02235, allocations: 307.7 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.02296, allocations: 0.5648 MB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009292/0.02389, allocations: 0.6274 MB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.02721, allocations: 2.625 MB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02722, allocations: 4 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02722, allocations: 0 / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.225e-05/0.02726, allocations: 0 / 283.8 MB, free: 6.145 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005523/0.03278, allocations: 2.402 MB / 286.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.03283, allocations: 8.922 kB / 286.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.03496, allocations: 0.5306 MB / 286.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.03728, allocations: 0.9539 MB / 287.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.03739, allocations: 99.05 kB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.03764, allocations: 136.4 kB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1052/0.1428, allocations: 2.027 MB / 290 MB, free: 30.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.1429, allocations: 0.8438 kB / 290 MB, free: 30.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.143, allocations: 53.88 kB / 290 MB, free: 30.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/0.1431, allocations: 47.38 kB / 290.1 MB, free: 30.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.1459, allocations: 1.504 MB / 291.6 MB, free: 30.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008678/0.1546, allocations: 5.597 MB / 297.2 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.1569, allocations: 0.9659 MB / 298.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.1575, allocations: 428.4 kB / 298.5 MB, free: 27.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.1597, allocations: 1.339 MB / 299.9 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1597, allocations: 46.56 kB / 299.9 MB, free: 26.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.854e-06/0.1597, allocations: 0 / 299.9 MB, free: 26.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002709/0.1624, allocations: 1.139 MB / 301.1 MB, free: 25.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.1624, allocations: 86.58 kB / 301.2 MB, free: 25.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1637, allocations: 1.13 MB / 302.3 MB, free: 25.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1637, allocations: 36.45 kB / 302.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1641, allocations: 0.8075 MB / 303.1 MB, free: 24.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1642, allocations: 222.4 kB / 303.3 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.1644, allocations: 153 kB / 303.5 MB, free: 24.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.1645, allocations: 0.5244 MB / 304 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.1649, allocations: 275.1 kB / 304.3 MB, free: 23.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.1654, allocations: 0.5249 MB / 304.8 MB, free: 23.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.1663, allocations: 0.8205 MB / 305.6 MB, free: 22.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1663, allocations: 1.312 kB / 305.6 MB, free: 22.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001186/0.1675, allocations: 0.8869 MB / 306.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1675, allocations: 7.312 kB / 306.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1675, allocations: 7 kB / 306.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1675, allocations: 11.94 kB / 306.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.1682, allocations: 180.1 kB / 306.7 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1682, allocations: 12.67 kB / 306.7 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.1686, allocations: 79.22 kB / 306.8 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.1687, allocations: 24.19 kB / 306.8 MB, free: 22.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0004719/0.1692, allocations: 0.4972 MB / 307.3 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.1693, allocations: 108.6 kB / 307.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1703, allocations: 0.5744 MB / 308 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1703, allocations: 11.72 kB / 308 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1703, allocations: 4 kB / 308 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1703, allocations: 8.672 kB / 308 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.1726, allocations: 1.657 MB / 309.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1726, allocations: 0 / 309.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.173, allocations: 91.88 kB / 309.8 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/0.1735, allocations: 177 kB / 310 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.1735, allocations: 20.73 kB / 310 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.1758, allocations: 3.033 MB / 313 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1758, allocations: 11.97 kB / 313 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1773, allocations: 1.34 MB / 314.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.1775, allocations: 103.4 kB / 314.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.1776, allocations: 19.98 kB / 314.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.1781, allocations: 55.94 kB / 314.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.1783, allocations: 63.77 kB / 314.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1783, allocations: 16 kB / 314.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006797/0.179, allocations: 0.7097 MB / 315.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.179, allocations: 0 / 315.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009547/0.18, allocations: 374.8 kB / 315.7 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * 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 {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.1802, allocations: 131.1 kB / 315.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.1811, allocations: 0.6718 MB / 316.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1811, allocations: 0 / 316.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.1819, allocations: 0.5869 MB / 317.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.1827, allocations: 163.1 kB / 317.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.1858, allocations: 2.542 MB / 319.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.1863, allocations: 0.8308 MB / 320.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.1867, allocations: 174.5 kB / 320.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1869, allocations: 64.48 kB / 320.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1869, allocations: 0 / 320.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Templates: time 0.01861/0.2055, allocations: 11.4 MB / 332.2 MB, free: 13.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.903156704036519]