Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001066/0.001066, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002567, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001122/0.001122, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.00249, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9069/0.9069, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07679/0.9836, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.33e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00727/0.007284, allocations: 6.453 MB / 251 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.01128, allocations: 2.338 MB / 253.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.0117, allocations: 51.69 kB / 253.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.01237, allocations: 393.3 kB / 253.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.01397, allocations: 0.8504 MB / 254.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.01464, allocations: 367.2 kB / 255 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002947/0.01759, allocations: 3.323 MB / 258.3 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.01886, allocations: 1.109 MB / 259.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.0214, allocations: 2.402 MB / 261.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.02342, allocations: 1.735 MB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.02376, allocations: 292 kB / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006921/0.02445, allocations: 423.7 kB / 264.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.02506, allocations: 0.6973 MB / 264.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.02601, allocations: 0.8149 MB / 265.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.02872, allocations: 2.399 MB / 268.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.02874, allocations: 0 / 268.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02874, allocations: 0 / 268.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.02877, allocations: 4 kB / 268.1 MB, free: 6.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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005386/0.03415, allocations: 3.77 MB / 271.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.03419, allocations: 11.98 kB / 271.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.03729, allocations: 0.8512 MB / 272.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.03909, allocations: 0.9868 MB / 273.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.03946, allocations: 176.9 kB / 273.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.03981, allocations: 232.4 kB / 274.2 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1147/0.1545, allocations: 1.935 MB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.1546, allocations: 0 / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.1547, allocations: 92.59 kB / 276.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.1548, allocations: 70.8 kB / 276.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.1557, allocations: 0.5504 MB / 276.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.1618, allocations: 5.826 MB / 282.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1632, allocations: 0.9585 MB / 283.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.1634, allocations: 243.7 kB / 283.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.165, allocations: 1.463 MB / 285.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.165, allocations: 48.62 kB / 285.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 1.643e-06/0.165, allocations: 0 / 285.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002304/0.1673, allocations: 1.567 MB / 286.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.1673, allocations: 115.8 kB / 287 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/0.168, allocations: 0.9982 MB / 288 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.168, allocations: 41.83 kB / 288.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.1683, allocations: 0.9537 MB / 289 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1684, allocations: 372.6 kB / 289.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1686, allocations: 224 kB / 289.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.1686, allocations: 360.7 kB / 289.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1688, allocations: 116.4 kB / 290.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.169, allocations: 496.5 kB / 290.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.1695, allocations: 0.7525 MB / 291.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1695, allocations: 5.094 kB / 291.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0007178/0.1702, allocations: 0.7505 MB / 292 MB, free: 9.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1702, allocations: 14.31 kB / 292.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1702, allocations: 9.938 kB / 292.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.1704, allocations: 94.7 kB / 292.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.1711, allocations: 409.6 kB / 292.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/0.172, allocations: 2.634 MB / 295.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.1723, allocations: 68.95 kB / 295.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.1724, allocations: 44.8 kB / 295.3 MB, free: 6.641 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.1726, allocations: 198.9 kB / 295.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1728, allocations: 126.2 kB / 295.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.1734, allocations: 0.615 MB / 296.2 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1734, allocations: 11.41 kB / 296.3 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1734, allocations: 15.11 kB / 296.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1734, allocations: 3.328 kB / 296.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1745, allocations: 1.144 MB / 297.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1745, allocations: 7.391 kB / 297.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.175, allocations: 241 kB / 297.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1751, allocations: 150 kB / 297.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/0.1754, allocations: 203.4 kB / 298 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.1755, allocations: 38.25 kB / 298 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/0.1786, allocations: 4.655 MB / 302.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1786, allocations: 5.859 kB / 302.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1796, allocations: 1.024 MB / 303.7 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.1798, allocations: 31.98 kB / 303.8 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.1803, allocations: 55.62 kB / 303.8 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1804, allocations: 80.34 kB / 303.9 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.1804, allocations: 27.98 kB / 303.9 MB, free: 216 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.1809, allocations: 0.4971 MB / 304.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1809, allocations: 0 / 304.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001011/0.1819, allocations: 451.8 kB / 304.9 MB, free: 15.33 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002314/0.1821, allocations: 144.6 kB / 305 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.183, allocations: 0.7831 MB / 305.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.492e-05/0.1831, allocations: 26.19 kB / 305.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006514/0.1837, allocations: 0.7369 MB / 306.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.1845, allocations: 389.8 kB / 306.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.1977, allocations: 3.982 MB / 310.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.1982, allocations: 0.6162 MB / 311.5 MB, free: 8.625 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.1988, allocations: 195.6 kB / 311.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.1993, allocations: 336.2 kB / 312 MB, free: 8.105 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1993, allocations: 0 / 312 MB, free: 8.105 MB / 282.7 MB Notification: Performance of Templates: time 0.02826/0.2275, allocations: 21.76 MB / 333.8 MB, free: 2.715 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.066930240020156]