Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009689/0.0009689, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009097/0.0009097, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9106/0.9106, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.372e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005434/0.005457, allocations: 6.535 MB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.0084, allocations: 2.242 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.008843, allocations: 51.69 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.009452, allocations: 381.3 kB / 282.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.01088, allocations: 0.8777 MB / 283 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.01138, allocations: 371.1 kB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.014, allocations: 3.303 MB / 286.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.01495, allocations: 1.082 MB / 287.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.01681, allocations: 2.203 MB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1016/0.1184, allocations: 1.748 MB / 291.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000731/0.1191, allocations: 292.2 kB / 292 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009704/0.1201, allocations: 408.9 kB / 292.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.1207, allocations: 0.8957 MB / 293.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.1218, allocations: 1.014 MB / 294.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.1244, allocations: 2.578 MB / 296.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1244, allocations: 0 / 296.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1244, allocations: 1.031 kB / 296.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.593e-05/0.1245, allocations: 0.8125 kB / 296.9 MB, free: 16.68 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.005158/0.1297, allocations: 3.597 MB / 300.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1297, allocations: 10.38 kB / 300.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.1319, allocations: 0.9402 MB / 301.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.1335, allocations: 1.438 MB / 302.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/0.1336, allocations: 169.9 kB / 303 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.1339, allocations: 234.6 kB / 303.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.1363, allocations: 2.035 MB / 305.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.1363, allocations: 0 / 305.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.1365, allocations: 102.2 kB / 305.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.1365, allocations: 76.78 kB / 305.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.138, allocations: 0.8568 MB / 306.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006988/0.145, allocations: 7.258 MB / 313.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.1466, allocations: 1.257 MB / 314.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.147, allocations: 315.6 kB / 315.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.1489, allocations: 1.935 MB / 317.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1489, allocations: 45.72 kB / 317.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.585e-06/0.1489, allocations: 0 / 317.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00337/0.1523, allocations: 2.769 MB / 319.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1523, allocations: 122.9 kB / 320 MB, free: 1.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.1534, allocations: 1.341 MB / 321.4 MB, free: 36 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.1534, allocations: 41.75 kB / 321.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.1541, allocations: 1.259 MB / 322.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.1544, allocations: 388.6 kB / 323 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.1546, allocations: 272.5 kB / 323.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1548, allocations: 0.5551 MB / 323.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.155, allocations: 166.5 kB / 324 MB, free: 13.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.1556, allocations: 0.7128 MB / 324.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.1565, allocations: 0.9874 MB / 325.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1565, allocations: 4 kB / 325.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001312/0.1578, allocations: 1.061 MB / 326.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1578, allocations: 14.23 kB / 326.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1578, allocations: 12 kB / 326.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.1581, allocations: 103 kB / 326.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.1587, allocations: 328.8 kB / 327.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.1607, allocations: 3.788 MB / 331 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.1613, allocations: 95.69 kB / 331.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/0.1614, allocations: 63.91 kB / 331.2 MB, free: 5.676 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.000633/0.162, allocations: 236.7 kB / 331.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1622, allocations: 191 kB / 331.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1632, allocations: 0.7726 MB / 332.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1632, allocations: 8 kB / 332.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1632, allocations: 8 kB / 332.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1633, allocations: 3.984 kB / 332.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.1655, allocations: 1.94 MB / 334.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1655, allocations: 7.375 kB / 334.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.166, allocations: 186.1 kB / 334.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/0.1665, allocations: 230.8 kB / 334.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.1666, allocations: 31.98 kB / 334.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.17, allocations: 6.442 MB / 341.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.17, allocations: 4 kB / 341.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.1716, allocations: 1.422 MB / 342.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.1719, allocations: 170.8 kB / 342.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.172, allocations: 31.98 kB / 342.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.1725, allocations: 79.91 kB / 342.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.1726, allocations: 108.3 kB / 343 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.1727, allocations: 35.98 kB / 343.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009706/0.1737, allocations: 0.7542 MB / 343.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1737, allocations: 0 / 343.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1749, allocations: 455.9 kB / 344.3 MB, free: 8.199 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.0002578/0.1751, allocations: 154 kB / 344.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1767, allocations: 1.025 MB / 345.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.1767, allocations: 4 kB / 345.4 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1778, allocations: 0.9555 MB / 346.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.1789, allocations: 270.9 kB / 346.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.1839, allocations: 3.923 MB / 350.6 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1844, allocations: 0.7215 MB / 351.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006048/0.185, allocations: 359.2 kB / 351.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.1852, allocations: 104.5 kB / 351.8 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of SimCode: time 1.694e-06/0.1852, allocations: 0 / 351.8 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of Templates: time 0.02466/0.2098, allocations: 20.24 MB / 372 MB, free: 12.72 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2052907370962203]