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.0007547/0.0007547, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009843/0.001739, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001111/0.001111, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009143/0.002026, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9163/0.9163, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07762/0.9939, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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 2.876e-06/2.876e-06, allocations: 4 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.398e-06/1.227e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004677/0.004689, allocations: 6.453 MB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.007198, allocations: 2.342 MB / 253.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.007522, allocations: 51.69 kB / 253.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.008009, allocations: 397.3 kB / 254.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.00913, allocations: 0.8659 MB / 255.1 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.009555, allocations: 355.2 kB / 255.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.01162, allocations: 3.339 MB / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008554/0.01248, allocations: 1.117 MB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.01418, allocations: 2.402 MB / 262.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.0155, allocations: 1.746 MB / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.01577, allocations: 296 kB / 264.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.01628, allocations: 423.7 kB / 264.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.0167, allocations: 0.7129 MB / 265.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.01737, allocations: 0.8149 MB / 266.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.01901, allocations: 2.395 MB / 268.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/0.01902, allocations: 0 / 268.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01902, allocations: 0 / 268.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.01906, allocations: 3.938 kB / 268.7 MB, free: 5.789 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.003657/0.02272, allocations: 3.778 MB / 272.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.02274, allocations: 8.625 kB / 272.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.02464, allocations: 0.8473 MB / 273.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.02578, allocations: 0.9907 MB / 274.3 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.09715/0.1229, allocations: 174.1 kB / 274.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/0.1234, allocations: 230.2 kB / 274.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.1256, allocations: 1.936 MB / 276.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.1256, allocations: 0 / 276.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1258, allocations: 94.66 kB / 276.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.1259, allocations: 83.81 kB / 276.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1269, allocations: 0.5497 MB / 277.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/0.1333, allocations: 5.838 MB / 283.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.1348, allocations: 0.9628 MB / 284.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.135, allocations: 245 kB / 284.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.1367, allocations: 1.468 MB / 285.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1367, allocations: 48.44 kB / 285.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.275e-06/0.1367, allocations: 0 / 285.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002581/0.1393, allocations: 1.553 MB / 287.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1393, allocations: 115.9 kB / 287.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.14, allocations: 1.005 MB / 288.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.14, allocations: 45.05 kB / 288.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.1403, allocations: 0.9571 MB / 289.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.1404, allocations: 369.5 kB / 290 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1406, allocations: 225.5 kB / 290.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.1406, allocations: 364 kB / 290.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1408, allocations: 109.3 kB / 290.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.141, allocations: 0.4937 MB / 291.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.1415, allocations: 0.7514 MB / 291.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1415, allocations: 3.219 kB / 291.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0007636/0.1423, allocations: 0.756 MB / 292.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1423, allocations: 9.719 kB / 292.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1423, allocations: 11.16 kB / 292.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1425, allocations: 87.92 kB / 292.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.1433, allocations: 423.1 kB / 293.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009714/0.1442, allocations: 2.624 MB / 295.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.1446, allocations: 71.5 kB / 295.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.1447, allocations: 56.17 kB / 295.9 MB, free: 6.035 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.0002583/0.1449, allocations: 194.5 kB / 296.1 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1451, allocations: 120.3 kB / 296.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.1457, allocations: 0.6183 MB / 296.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1457, allocations: 10.16 kB / 296.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1457, allocations: 7.406 kB / 296.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1457, allocations: 7.844 kB / 296.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.1469, allocations: 1.141 MB / 298 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1469, allocations: 3.594 kB / 298 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.1474, allocations: 235.2 kB / 298.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1475, allocations: 145.5 kB / 298.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.1479, allocations: 216.9 kB / 298.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.148, allocations: 31.88 kB / 298.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.1498, allocations: 4.654 MB / 303.3 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1498, allocations: 4 kB / 303.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.1508, allocations: 1.025 MB / 304.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1509, allocations: 31.98 kB / 304.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.1513, allocations: 55.97 kB / 304.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.1514, allocations: 88.27 kB / 304.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.1514, allocations: 31.45 kB / 304.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003976/0.1518, allocations: 0.4913 MB / 305 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1518, allocations: 0 / 305 MB, free: 14.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000773/0.1526, allocations: 447.9 kB / 305.4 MB, free: 13.97 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.0002047/0.1528, allocations: 147 kB / 305.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007799/0.1536, allocations: 0.7918 MB / 306.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.04e-05/0.1536, allocations: 24.48 kB / 306.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.1542, allocations: 0.7446 MB / 307.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.155, allocations: 393.8 kB / 307.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.168, allocations: 3.999 MB / 311.5 MB, free: 7.895 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1685, allocations: 0.6162 MB / 312.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.1689, allocations: 191.6 kB / 312.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.1694, allocations: 337.1 kB / 312.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1694, allocations: 0 / 312.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Templates: time 0.02571/0.1951, allocations: 21.76 MB / 334.4 MB, free: 1.332 MB / 298.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 -ignoreHideResult -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.011760969646275]