Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0008014/0.0008014, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001972, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007099/0.0007099, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009094/0.001619, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9433/0.9433, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08015/1.023, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.429e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00919/0.009214, allocations: 7.579 MB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.0147, allocations: 2.58 MB / 255.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.01574, allocations: 71.56 kB / 255.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.01656, allocations: 480.7 kB / 255.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.01833, allocations: 0.8851 MB / 256.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.019, allocations: 407.1 kB / 257.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.0216, allocations: 3.396 MB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.02291, allocations: 1.58 MB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.02512, allocations: 2.602 MB / 264.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.02655, allocations: 1.816 MB / 266.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.02688, allocations: 356 kB / 266.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.0275, allocations: 475.8 kB / 267.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.02792, allocations: 0.7558 MB / 268.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.02861, allocations: 0.9046 MB / 269.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.03036, allocations: 2.605 MB / 271.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.03037, allocations: 0 / 271.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03037, allocations: 0 / 271.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.03042, allocations: 0 / 271.7 MB, free: 2.934 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.1045/0.1349, allocations: 4.009 MB / 275.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1349, allocations: 9.969 kB / 275.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.1371, allocations: 0.8667 MB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.1389, allocations: 1.066 MB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.139, allocations: 201.4 kB / 277.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.1393, allocations: 263.3 kB / 278.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.1418, allocations: 2.158 MB / 280.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.1418, allocations: 1.438 kB / 280.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.142, allocations: 116.9 kB / 280.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.1421, allocations: 107.3 kB / 280.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1431, allocations: 0.6229 MB / 281.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.1498, allocations: 6.366 MB / 287.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.1511, allocations: 1.076 MB / 288.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.1514, allocations: 342.2 kB / 288.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1516, allocations: 58.95 kB / 288.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1516, allocations: 53.36 kB / 288.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=132): time 2.575e-06/0.1516, allocations: 0 / 288.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002196/0.1538, allocations: 1.384 MB / 290.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1538, allocations: 92.45 kB / 290.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.1544, allocations: 0.8659 MB / 291.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.1544, allocations: 47.08 kB / 291.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.1547, allocations: 0.9808 MB / 292.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1548, allocations: 475.6 kB / 292.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.155, allocations: 228.7 kB / 293 MB, free: 8.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.155, allocations: 370.2 kB / 293.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1552, allocations: 126 kB / 293.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.1554, allocations: 406.3 kB / 293.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.1559, allocations: 0.6825 MB / 294.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1559, allocations: 2.875 kB / 294.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0008325/0.1567, allocations: 0.8799 MB / 295.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1567, allocations: 11.77 kB / 295.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1567, allocations: 7.906 kB / 295.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.1573, allocations: 364.2 kB / 295.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.1578, allocations: 274.3 kB / 296.1 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.1604, allocations: 4.411 MB / 300.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.1608, allocations: 123.1 kB / 300.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.1608, allocations: 34.58 kB / 300.7 MB, free: 1.852 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (131): * Single equations (assignments): 129 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.1611, allocations: 210.1 kB / 300.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1613, allocations: 127.9 kB / 301 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/0.1621, allocations: 0.8349 MB / 301.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1621, allocations: 12 kB / 301.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1621, allocations: 8 kB / 301.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1621, allocations: 3.984 kB / 301.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.1645, allocations: 2.442 MB / 304.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1645, allocations: 4.344 kB / 304.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.1649, allocations: 191.2 kB / 304.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1651, allocations: 150.7 kB / 304.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005948/0.1657, allocations: 367.8 kB / 305 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.1657, allocations: 31.98 kB / 305 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/0.1689, allocations: 4.382 MB / 309.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1689, allocations: 7.656 kB / 309.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1701, allocations: 1.324 MB / 310.7 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.1702, allocations: 34.98 kB / 310.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.1705, allocations: 63.97 kB / 310.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.1707, allocations: 115.6 kB / 310.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.1707, allocations: 27.98 kB / 311 MB, free: 7.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.171, allocations: 439.3 kB / 311.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 0 / 311.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001017/0.172, allocations: 0.6971 MB / 312.1 MB, free: 6.664 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (loss_m.Phi.re,loss_m.Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[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 (92): * Single equations (assignments): 90 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002234/0.1723, allocations: 144.7 kB / 312.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1734, allocations: 1.078 MB / 313.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.97e-05/0.1735, allocations: 21 kB / 313.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.1742, allocations: 0.8562 MB / 314.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.1757, allocations: 2.79 MB / 317 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.1894, allocations: 4.22 MB / 321.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.19, allocations: 0.643 MB / 321.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.1906, allocations: 179.7 kB / 322 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/0.1912, allocations: 341.1 kB / 322.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1912, allocations: 0 / 322.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.03416/0.2254, allocations: 23.53 MB / 345.9 MB, free: 4.711 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.059121704660356]