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.002437/0.002437, allocations: 99.53 kB / 20.97 MB, free: 3.445 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.002605/0.002605, allocations: 160.8 kB / 24.27 MB, free: 148 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 1.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.453e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009779/0.009804, allocations: 6.469 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.01478, allocations: 2.238 MB / 280.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.01544, allocations: 55.62 kB / 281 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009284/0.01637, allocations: 381.3 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.0187, allocations: 0.8777 MB / 282.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.01958, allocations: 359.2 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004516/0.02409, allocations: 3.299 MB / 285.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.02577, allocations: 1.094 MB / 287 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.02881, allocations: 1.887 MB / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1143/0.1431, allocations: 1.611 MB / 290.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.144, allocations: 294.2 kB / 290.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.1455, allocations: 422.7 kB / 291.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1466, allocations: 0.9023 MB / 292.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.1487, allocations: 1.02 MB / 293.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.1531, allocations: 4.204 MB / 297.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1531, allocations: 0 / 297.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1531, allocations: 2.031 kB / 297.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.273e-05/0.1532, allocations: 0.9062 kB / 297.3 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008054/0.1612, allocations: 3.846 MB / 301.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1613, allocations: 17.33 kB / 301.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.1657, allocations: 1.041 MB / 302.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.1695, allocations: 1.531 MB / 303.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.1696, allocations: 174.6 kB / 303.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.17, allocations: 232.5 kB / 304.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.1751, allocations: 3.408 MB / 307.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.1752, allocations: 0 / 307.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.1754, allocations: 102.1 kB / 307.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.1755, allocations: 82.98 kB / 307.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004008/0.1795, allocations: 2.558 MB / 310.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.1933, allocations: 9.248 MB / 319.5 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.1968, allocations: 1.694 MB / 321.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.1981, allocations: 0.6555 MB / 321.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004715/0.2028, allocations: 2.202 MB / 324.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.2028, allocations: 53 kB / 324.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.2028, allocations: 0 / 324.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.008892/0.2117, allocations: 3.772 MB / 327.9 MB, free: 8.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.2118, allocations: 119.2 kB / 328 MB, free: 8.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.2149, allocations: 1.805 MB / 329.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.215, allocations: 45.7 kB / 329.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.2163, allocations: 1.301 MB / 331.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.2167, allocations: 401.9 kB / 331.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.2173, allocations: 292.5 kB / 331.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003851/0.2176, allocations: 0.5824 MB / 332.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.2187, allocations: 0.5099 MB / 332.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.2204, allocations: 1.083 MB / 334 MB, free: 2.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.223, allocations: 1.651 MB / 335.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.223, allocations: 4 kB / 335.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003495/0.2265, allocations: 1.758 MB / 337.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.2265, allocations: 12.72 kB / 337.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.2265, allocations: 12 kB / 337.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.227, allocations: 138 kB / 337.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.2284, allocations: 320.7 kB / 337.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.2326, allocations: 4.145 MB / 342 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.2337, allocations: 95.73 kB / 342.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.2338, allocations: 56.31 kB / 342.2 MB, free: 9.855 MB / 298.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.001432/0.2352, allocations: 0.7592 MB / 342.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.2356, allocations: 187 kB / 343.1 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.2382, allocations: 1.199 MB / 344.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.2382, allocations: 8 kB / 344.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.2383, allocations: 15.98 kB / 344.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2383, allocations: 3.984 kB / 344.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004834/0.2431, allocations: 2.477 MB / 346.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2431, allocations: 4.094 kB / 346.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008556/0.244, allocations: 175.2 kB / 347 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009544/0.2449, allocations: 283.9 kB / 347.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/0.245, allocations: 35.98 kB / 347.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007718/0.2527, allocations: 7.153 MB / 354.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.2527, allocations: 7.75 kB / 354.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.2574, allocations: 2.339 MB / 356.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.258, allocations: 170.9 kB / 357 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2582, allocations: 24 kB / 357 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/0.2591, allocations: 87.89 kB / 357.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.2594, allocations: 110.5 kB / 357.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.2595, allocations: 27.98 kB / 357.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.2614, allocations: 1.095 MB / 358.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2614, allocations: 0 / 358.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001794/0.2632, allocations: 447.9 kB / 358.8 MB, free: 8.859 MB / 314.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.0003569/0.2636, allocations: 166.1 kB / 358.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.2667, allocations: 1.648 MB / 360.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2667, allocations: 4 kB / 360.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.2688, allocations: 1.24 MB / 361.8 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.2705, allocations: 267.1 kB / 362.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/0.2787, allocations: 4.294 MB / 366.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.2805, allocations: 1.398 MB / 367.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.2818, allocations: 355.2 kB / 368.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.2821, allocations: 103.3 kB / 368.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2821, allocations: 0 / 368.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Templates: time 0.0394/0.3215, allocations: 19.29 MB / 387.5 MB, free: 12.35 MB / 346.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.391728425049223]