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.001284/0.001284, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001082/0.001082, allocations: 160.1 kB / 24.82 MB, free: 8.914 MB / 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.9154/0.9154, allocations: 177 MB / 205.1 MB, free: 5.461 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.423e-06/1.423e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.138e-05, allocations: 2.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00542/0.005442, allocations: 6.375 MB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.009042, allocations: 2.223 MB / 281.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.0095, allocations: 51.69 kB / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.01012, allocations: 385.2 kB / 282.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.01158, allocations: 0.8776 MB / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.01217, allocations: 355.2 kB / 283.6 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.01471, allocations: 3.303 MB / 286.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.01595, allocations: 1.09 MB / 288 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.01791, allocations: 2.199 MB / 290.2 MB, free: 248 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.11/0.128, allocations: 1.747 MB / 291.9 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.129, allocations: 292.8 kB / 292.2 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1301, allocations: 412.1 kB / 292.6 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.1309, allocations: 0.897 MB / 293.5 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.1328, allocations: 1.016 MB / 294.5 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.1361, allocations: 2.574 MB / 297.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1361, allocations: 0.6875 kB / 297.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1361, allocations: 0 / 297.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.1363, allocations: 2.094 kB / 297.1 MB, free: 16.79 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.005844/0.1421, allocations: 3.447 MB / 300.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1422, allocations: 10.61 kB / 300.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.1444, allocations: 0.8869 MB / 301.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.146, allocations: 1.327 MB / 302.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.1461, allocations: 173.6 kB / 303 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.1464, allocations: 236.7 kB / 303.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.1485, allocations: 1.896 MB / 305.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.1485, allocations: 7.25 kB / 305.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.1486, allocations: 93.94 kB / 305.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/0.1487, allocations: 85.06 kB / 305.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.1497, allocations: 0.6501 MB / 305.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.1569, allocations: 7.121 MB / 313 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.1583, allocations: 1.081 MB / 314.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1585, allocations: 275.5 kB / 314.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.1604, allocations: 1.872 MB / 316.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1604, allocations: 53.72 kB / 316.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.555e-06/0.1604, allocations: 0 / 316.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002796/0.1632, allocations: 1.687 MB / 318 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1632, allocations: 118.7 kB / 318.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.1642, allocations: 1.308 MB / 319.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.1642, allocations: 45.7 kB / 319.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.1646, allocations: 1.271 MB / 320.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.1648, allocations: 389.4 kB / 321.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.165, allocations: 269.7 kB / 321.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.1651, allocations: 0.5629 MB / 321.9 MB, free: 484 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1653, allocations: 126.5 kB / 322.1 MB, free: 356 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.1659, allocations: 0.6914 MB / 322.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.1667, allocations: 0.9235 MB / 323.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1667, allocations: 4 kB / 323.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001197/0.1679, allocations: 0.9674 MB / 324.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1679, allocations: 16.62 kB / 324.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.1679, allocations: 15.61 kB / 324.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.1681, allocations: 99.2 kB / 324.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.1688, allocations: 315.8 kB / 325.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.1707, allocations: 3.725 MB / 328.8 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.1714, allocations: 75.78 kB / 328.9 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.1714, allocations: 47.98 kB / 328.9 MB, free: 9.055 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.0006435/0.1721, allocations: 244.9 kB / 329.2 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.1723, allocations: 183.1 kB / 329.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.1732, allocations: 0.7247 MB / 330.1 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1732, allocations: 12 kB / 330.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1732, allocations: 4 kB / 330.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1732, allocations: 7.969 kB / 330.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.175, allocations: 1.434 MB / 331.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.175, allocations: 384 / 331.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.1754, allocations: 173.3 kB / 331.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.1758, allocations: 223.8 kB / 331.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.1758, allocations: 31.97 kB / 332 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.179, allocations: 6.299 MB / 338.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.179, allocations: 7.938 kB / 338.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.1803, allocations: 1.335 MB / 339.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.1805, allocations: 162.8 kB / 339.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.1806, allocations: 27.98 kB / 339.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.181, allocations: 63.97 kB / 339.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1811, allocations: 91.92 kB / 339.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.1812, allocations: 23.98 kB / 340 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00057/0.1818, allocations: 0.692 MB / 340.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1818, allocations: 0 / 340.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00122/0.183, allocations: 447.9 kB / 341.1 MB, free: 12.8 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.0002416/0.1832, allocations: 166.1 kB / 341.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.1845, allocations: 0.9671 MB / 342.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1845, allocations: 0 / 342.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.1853, allocations: 0.9361 MB / 343.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.1862, allocations: 263.5 kB / 343.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.1911, allocations: 3.884 MB / 347.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.1917, allocations: 0.7254 MB / 348 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005682/0.1922, allocations: 187.5 kB / 348.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.1928, allocations: 376.9 kB / 348.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of SimCode: time 1.452e-06/0.1928, allocations: 8 kB / 348.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Templates: time 0.02794/0.2207, allocations: 20.57 MB / 369.1 MB, free: 1.059 MB / 314.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.234503226354718]