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.0007738/0.0007738, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0008709/0.0008709, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.929/0.929, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.683e-06/1.683e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.79e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0126/0.01261, allocations: 6.346 MB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006762/0.01938, allocations: 2.226 MB / 282 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.02047, allocations: 55.62 kB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.02109, allocations: 389.3 kB / 282.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.02256, allocations: 0.866 MB / 283.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.02306, allocations: 361.5 kB / 283.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.02522, allocations: 3.295 MB / 286.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009108/0.02613, allocations: 1.082 MB / 288 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.0277, allocations: 2.191 MB / 290.2 MB, free: 356 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1132/0.1409, allocations: 1.747 MB / 291.9 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.1417, allocations: 291.8 kB / 292.2 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.1426, allocations: 415.7 kB / 292.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.1432, allocations: 0.8877 MB / 293.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.1445, allocations: 1.016 MB / 294.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.147, allocations: 2.567 MB / 297.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.147, allocations: 0.5938 kB / 297.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.147, allocations: 2.125 kB / 297.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.1471, allocations: 0 / 297.1 MB, free: 16.24 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.004935/0.1521, allocations: 3.442 MB / 300.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1521, allocations: 11.83 kB / 300.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.1542, allocations: 0.8816 MB / 301.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.1558, allocations: 1.336 MB / 302.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1559, allocations: 169 kB / 302.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.1562, allocations: 229.7 kB / 303.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.1586, allocations: 1.891 MB / 305.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.1586, allocations: 3.469 kB / 305.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.1588, allocations: 95.59 kB / 305.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.1589, allocations: 71.19 kB / 305.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.16, allocations: 0.6504 MB / 305.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007564/0.1676, allocations: 7.103 MB / 313 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.1693, allocations: 1.078 MB / 314.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.1696, allocations: 288.1 kB / 314.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.1714, allocations: 1.858 MB / 316.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1715, allocations: 63.98 kB / 316.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.344e-06/0.1715, allocations: 0 / 316.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003023/0.1745, allocations: 1.69 MB / 318 MB, free: 4.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.1745, allocations: 115.3 kB / 318.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1756, allocations: 1.312 MB / 319.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1756, allocations: 41.7 kB / 319.4 MB, free: 2.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.1761, allocations: 1.257 MB / 320.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.1763, allocations: 398.8 kB / 321.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.1766, allocations: 269 kB / 321.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.1767, allocations: 0.5742 MB / 321.9 MB, free: 500 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1769, allocations: 126.5 kB / 322 MB, free: 376 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.1774, allocations: 0.685 MB / 322.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.1783, allocations: 0.9282 MB / 323.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1783, allocations: 0 / 323.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001396/0.1797, allocations: 0.976 MB / 324.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1797, allocations: 8.875 kB / 324.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1797, allocations: 12 kB / 324.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.1799, allocations: 95.31 kB / 324.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.1807, allocations: 315.8 kB / 325 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.1827, allocations: 3.727 MB / 328.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.1832, allocations: 75.75 kB / 328.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.1833, allocations: 51.97 kB / 328.9 MB, free: 9.078 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.0003817/0.1836, allocations: 240.4 kB / 329.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.1839, allocations: 187 kB / 329.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.185, allocations: 0.7305 MB / 330 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.185, allocations: 8 kB / 330 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.185, allocations: 4 kB / 330 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.185, allocations: 11.97 kB / 330.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.1869, allocations: 1.419 MB / 331.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1869, allocations: 4 kB / 331.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.1874, allocations: 182.3 kB / 331.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.1879, allocations: 216.4 kB / 331.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.1879, allocations: 35.98 kB / 331.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.1914, allocations: 6.302 MB / 338.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1914, allocations: 7.469 kB / 338.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.1929, allocations: 1.337 MB / 339.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.1931, allocations: 154.9 kB / 339.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.1933, allocations: 27.98 kB / 339.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.1938, allocations: 59.97 kB / 339.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.194, allocations: 87.17 kB / 339.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.194, allocations: 31.92 kB / 339.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.1947, allocations: 0.6915 MB / 340.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1947, allocations: 0 / 340.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001124/0.1958, allocations: 440 kB / 341 MB, free: 12.84 MB / 298.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.0002297/0.196, allocations: 173.3 kB / 341.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1971, allocations: 0.9666 MB / 342.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1971, allocations: 4 kB / 342.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.198, allocations: 0.9304 MB / 343.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/0.2021, allocations: 274.9 kB / 343.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.2116, allocations: 3.862 MB / 347.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.2122, allocations: 0.7254 MB / 348 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005232/0.2128, allocations: 191.5 kB / 348.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.2134, allocations: 374 kB / 348.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2134, allocations: 8 kB / 348.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of Templates: time 0.02644/0.2398, allocations: 20.59 MB / 369.1 MB, free: 1.086 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: 3.1789843970909715]