Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 75.75 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 166.2 kB / 24.99 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9467/0.9467, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.719e-05, allocations: 2.312 kB / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009326/0.009353, allocations: 7.674 MB / 280.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.01419, allocations: 2.444 MB / 283.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007143/0.01491, allocations: 75.5 kB / 283.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.0156, allocations: 464.7 kB / 283.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.01701, allocations: 0.8853 MB / 284.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.01755, allocations: 421.2 kB / 285 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.0197, allocations: 3.334 MB / 288.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.02094, allocations: 1.552 MB / 289.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1227/0.1436, allocations: 2.122 MB / 292 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.1465, allocations: 1.684 MB / 293.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009737/0.1474, allocations: 359.4 kB / 294 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.1484, allocations: 486.2 kB / 294.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000755/0.1492, allocations: 0.951 MB / 295.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.1508, allocations: 1.118 MB / 296.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.154, allocations: 2.808 MB / 299.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.154, allocations: 1.375 kB / 299.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.154, allocations: 0.5 kB / 299.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.1541, allocations: 0.75 kB / 299.4 MB, free: 15.64 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.006023/0.1601, allocations: 3.87 MB / 303.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1602, allocations: 8.469 kB / 303.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.1628, allocations: 1.073 MB / 304.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1646, allocations: 1.634 MB / 306 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.1647, allocations: 197.3 kB / 306.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.1649, allocations: 269.4 kB / 306.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.1676, allocations: 2.278 MB / 308.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.1677, allocations: 3.562 kB / 308.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1679, allocations: 116.4 kB / 308.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-05/0.1679, allocations: 97.88 kB / 308.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.1695, allocations: 0.965 MB / 309.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/0.1765, allocations: 8.222 MB / 318.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.1782, allocations: 1.35 MB / 319.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.1787, allocations: 454.2 kB / 319.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.1804, allocations: 1.774 MB / 321.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1804, allocations: 53.58 kB / 321.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.324e-06/0.1804, allocations: 0 / 321.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002886/0.1833, allocations: 1.573 MB / 323.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1833, allocations: 90.11 kB / 323.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1844, allocations: 1.156 MB / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.1845, allocations: 41.7 kB / 324.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.1851, allocations: 1.297 MB / 325.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.1853, allocations: 389.3 kB / 326.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.1856, allocations: 244.5 kB / 326.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1858, allocations: 0.5394 MB / 327 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.1861, allocations: 174.5 kB / 327.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.1865, allocations: 0.5763 MB / 327.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.1874, allocations: 0.8465 MB / 328.6 MB, free: 8.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.1874, allocations: 7.938 kB / 328.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001466/0.1888, allocations: 1.142 MB / 329.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1889, allocations: 8 kB / 329.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1889, allocations: 8 kB / 329.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007783/0.1897, allocations: 392.8 kB / 330.2 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.1901, allocations: 214.2 kB / 330.4 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/0.1941, allocations: 5.812 MB / 336.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.1945, allocations: 131.1 kB / 336.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.1946, allocations: 52 kB / 336.4 MB, free: 0.7422 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * 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 prepare postOptimizeDAE: time 0.0005192/0.1951, allocations: 226.6 kB / 336.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.1953, allocations: 175 kB / 336.8 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1966, allocations: 0.965 MB / 337.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1966, allocations: 12 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1966, allocations: 7.469 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1966, allocations: 3.984 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.1997, allocations: 2.907 MB / 340.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1998, allocations: 4 kB / 340.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2, allocations: 122.7 kB / 340.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007027/0.2007, allocations: 391.9 kB / 341.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.2008, allocations: 31.97 kB / 341.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/0.2045, allocations: 5.801 MB / 347 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2045, allocations: 0 / 347 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.206, allocations: 1.444 MB / 348.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.2062, allocations: 162.8 kB / 348.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2063, allocations: 27.98 kB / 348.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2067, allocations: 79.92 kB / 348.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.2068, allocations: 104.8 kB / 348.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.2069, allocations: 35.98 kB / 348.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006363/0.2075, allocations: 0.6624 MB / 349.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2075, allocations: 0 / 349.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001578/0.2091, allocations: 0.6891 MB / 350.2 MB, free: 2.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.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 (64): * Single equations (assignments): 62 * 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 Backend phase and start with SimCode phase: time 0.0002704/0.2094, allocations: 152.5 kB / 350.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2108, allocations: 1.238 MB / 351.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2108, allocations: 0 / 351.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.2116, allocations: 0.9137 MB / 352.5 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.2125, allocations: 307.6 kB / 352.8 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.2172, allocations: 4.008 MB / 356.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.2179, allocations: 0.7614 MB / 357.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.2183, allocations: 270.7 kB / 357.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2185, allocations: 96.47 kB / 357.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2185, allocations: 0 / 357.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Templates: time 0.02432/0.2428, allocations: 20.49 MB / 378.4 MB, free: 6.684 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1657918121200055]