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.0008795/0.0008795, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000891/0.000891, allocations: 168.8 kB / 24.91 MB, free: 9.191 MB / 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.8768/0.8768, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.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.502e-06/1.502e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.482e-05, allocations: 2.312 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007104/0.007118, allocations: 6.367 MB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.01067, allocations: 2.307 MB / 282.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.0111, allocations: 55.69 kB / 282.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.01194, allocations: 389.3 kB / 282.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.01333, allocations: 0.8776 MB / 283.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.01378, allocations: 371.1 kB / 283.8 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.01586, allocations: 3.311 MB / 287.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/0.01672, allocations: 1.109 MB / 288.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.01818, allocations: 2.218 MB / 290.4 MB, free: 204 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1028/0.121, allocations: 1.731 MB / 292.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.1221, allocations: 292.8 kB / 292.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1231, allocations: 411.7 kB / 292.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.1239, allocations: 0.892 MB / 293.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.1255, allocations: 1.017 MB / 294.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.1286, allocations: 2.565 MB / 297.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1286, allocations: 1.656 kB / 297.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1286, allocations: 1.344 kB / 297.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.649e-05/0.1287, allocations: 0 / 297.3 MB, free: 16.85 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.005923/0.1346, allocations: 3.155 MB / 300.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1346, allocations: 8.469 kB / 300.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.1381, allocations: 0.8506 MB / 301.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.1398, allocations: 0.9861 MB / 302.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1399, allocations: 176.1 kB / 302.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.1403, allocations: 234.1 kB / 302.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.1427, allocations: 1.935 MB / 304.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.1427, allocations: 3.281 kB / 304.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.1429, allocations: 95.38 kB / 304.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.143, allocations: 71.03 kB / 304.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1441, allocations: 0.5504 MB / 305.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/0.1511, allocations: 5.788 MB / 311.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.1527, allocations: 0.9576 MB / 312.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1529, allocations: 248.1 kB / 312.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.1544, allocations: 1.455 MB / 313.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1544, allocations: 49.7 kB / 313.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.354e-06/0.1544, allocations: 0 / 313.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002184/0.1566, allocations: 1.549 MB / 315.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.1566, allocations: 126.3 kB / 315.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.1572, allocations: 1.003 MB / 316.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.1572, allocations: 45.7 kB / 316.6 MB, free: 5.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1575, allocations: 0.9544 MB / 317.5 MB, free: 5.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1576, allocations: 367.4 kB / 317.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1578, allocations: 219.5 kB / 318.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.1578, allocations: 364.9 kB / 318.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1579, allocations: 114.5 kB / 318.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1582, allocations: 0.489 MB / 319.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.1587, allocations: 0.7531 MB / 319.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1587, allocations: 4 kB / 319.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0007862/0.1594, allocations: 0.7496 MB / 320.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1595, allocations: 12 kB / 320.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1595, allocations: 13.94 kB / 320.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.1596, allocations: 86.31 kB / 320.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.1602, allocations: 307.8 kB / 321 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.1613, allocations: 2.625 MB / 323.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.1617, allocations: 75.78 kB / 323.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.1618, allocations: 40 kB / 323.7 MB, free: 14.7 MB / 282.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.0003272/0.1621, allocations: 198.4 kB / 323.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1622, allocations: 127.8 kB / 324 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.163, allocations: 0.6184 MB / 324.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.163, allocations: 12 kB / 324.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.163, allocations: 19.11 kB / 324.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.163, allocations: 3.984 kB / 324.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1643, allocations: 1.141 MB / 325.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1643, allocations: 4 kB / 325.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.1647, allocations: 163 kB / 326 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.1651, allocations: 209 kB / 326.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.1652, allocations: 31.92 kB / 326.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.1678, allocations: 4.669 MB / 330.9 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1678, allocations: 0 / 330.9 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.1688, allocations: 1.025 MB / 331.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1689, allocations: 146.8 kB / 332.1 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.1691, allocations: 31.98 kB / 332.1 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.1694, allocations: 55.97 kB / 332.2 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1696, allocations: 87.7 kB / 332.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.1696, allocations: 23.98 kB / 332.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003738/0.17, allocations: 0.4908 MB / 332.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.17, allocations: 0 / 332.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009553/0.1709, allocations: 444 kB / 333.2 MB, free: 5.203 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.0002052/0.1711, allocations: 150.3 kB / 333.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007703/0.1719, allocations: 0.7826 MB / 334.1 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/0.1719, allocations: 20.56 kB / 334.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.1725, allocations: 0.7267 MB / 334.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.1733, allocations: 276.8 kB / 335.1 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.1773, allocations: 3.66 MB / 338.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1777, allocations: 0.5927 MB / 339.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.1781, allocations: 191.5 kB / 339.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.1787, allocations: 336.9 kB / 339.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1787, allocations: 0 / 339.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Templates: time 0.02492/0.2036, allocations: 20.32 MB / 360.2 MB, free: 10.53 MB / 314.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 -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: 2.942018338944763]