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.0009738/0.0009738, allocations: 83.89 kB / 21.19 MB, free: 3.391 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.0009275/0.0009275, allocations: 141.1 kB / 24.54 MB, free: 40 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.9376/0.9376, allocations: 173.4 MB / 201.2 MB, free: 8.992 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..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.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.62e-05, allocations: 9.766 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006081/0.006107, allocations: 4.616 MB / 272.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.009447, allocations: 1.65 MB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.009914, allocations: 31.81 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.01059, allocations: 270 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.01197, allocations: 0.7108 MB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.01233, allocations: 227.5 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.01392, allocations: 1.952 MB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.01458, allocations: 0.6721 MB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.01556, allocations: 1.166 MB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.01663, allocations: 0.9744 MB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.01689, allocations: 184 kB / 280.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.01741, allocations: 311.7 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.01773, allocations: 0.5647 MB / 281.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.01836, allocations: 0.6236 MB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.0197, allocations: 1.612 MB / 283.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0197, allocations: 4 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0197, allocations: 4 kB / 283.5 MB, free: 6.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.01974, allocations: 0 / 283.5 MB, free: 6.645 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.002923/0.02267, allocations: 2.301 MB / 285.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.02271, allocations: 12.92 kB / 285.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.02387, allocations: 0.5267 MB / 286.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.0251, allocations: 0.9265 MB / 287.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.02518, allocations: 103 kB / 287.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.02537, allocations: 132.4 kB / 287.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.02743, allocations: 1.216 MB / 288.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.02746, allocations: 3.938 kB / 288.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.02758, allocations: 52 kB / 288.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/0.02764, allocations: 53.98 kB / 288.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.02901, allocations: 495.5 kB / 289.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/0.1536, allocations: 4.38 MB / 293.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.155, allocations: 0.7698 MB / 294.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.1553, allocations: 205.4 kB / 294.7 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.1569, allocations: 1.182 MB / 295.9 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.157, allocations: 44.23 kB / 295.9 MB, free: 22.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 4.117e-06/0.157, allocations: 1.219 kB / 295.9 MB, free: 22.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001695/0.1587, allocations: 0.7145 MB / 296.6 MB, free: 22.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1587, allocations: 84.56 kB / 296.7 MB, free: 22.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.1596, allocations: 0.8533 MB / 297.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1596, allocations: 35.98 kB / 297.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.1601, allocations: 0.7766 MB / 298.4 MB, free: 21.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1602, allocations: 205 kB / 298.6 MB, free: 21.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1604, allocations: 141.7 kB / 298.7 MB, free: 21.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1604, allocations: 0.5094 MB / 299.2 MB, free: 21.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1606, allocations: 88.2 kB / 299.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.1609, allocations: 331.3 kB / 299.6 MB, free: 20.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.1614, allocations: 466.7 kB / 300.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1614, allocations: 0.6562 kB / 300.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000824/0.1623, allocations: 0.5166 MB / 300.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.1623, allocations: 14.48 kB / 300.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1623, allocations: 5.516 kB / 300.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.1623, allocations: 8.906 kB / 300.7 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.1628, allocations: 178.9 kB / 300.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1629, allocations: 10.14 kB / 300.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.1632, allocations: 81.64 kB / 300.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.1632, allocations: 25.97 kB / 300.9 MB, free: 20.36 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.0003165/0.1636, allocations: 204.4 kB / 301.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1637, allocations: 108.6 kB / 301.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.1645, allocations: 410.1 kB / 301.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.1645, allocations: 9.594 kB / 301.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.1645, allocations: 3.281 kB / 301.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1645, allocations: 2.812 kB / 301.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.1662, allocations: 1.283 MB / 302.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1662, allocations: 5.031 kB / 302.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1665, allocations: 89.78 kB / 303 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.1669, allocations: 151.3 kB / 303.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1669, allocations: 17.56 kB / 303.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.1684, allocations: 2.672 MB / 305.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1684, allocations: 2.984 kB / 305.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.1693, allocations: 0.8521 MB / 306.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1694, allocations: 119 kB / 306.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.1695, allocations: 18.75 kB / 306.9 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1697, allocations: 56 kB / 306.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1698, allocations: 56.38 kB / 307 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1698, allocations: 16.8 kB / 307 MB, free: 16.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.1702, allocations: 0.5106 MB / 307.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1702, allocations: 0 / 307.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007947/0.171, allocations: 364.7 kB / 307.9 MB, free: 16.03 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.0002263/0.1713, allocations: 147.2 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.1717, allocations: 325.9 kB / 308.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1717, allocations: 3.719 kB / 308.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.1722, allocations: 440.8 kB / 308.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.1728, allocations: 173.1 kB / 308.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1752, allocations: 2.34 MB / 311.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1755, allocations: 440.8 kB / 311.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.1758, allocations: 174.3 kB / 311.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1759, allocations: 62.59 kB / 311.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1759, allocations: 0 / 311.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.01422/0.1901, allocations: 11.41 MB / 323.3 MB, free: 3.324 MB / 266.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","",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.23038322199136]