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.0009595/0.0009595, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001036/0.001036, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.8807/0.8807, allocations: 177 MB / 204.8 MB, free: 5.566 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.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.493e-06/1.493e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.627e-05, allocations: 5.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006077/0.006093, allocations: 7.704 MB / 280.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.009376, allocations: 2.448 MB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.009891, allocations: 71.56 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.01059, allocations: 484.6 kB / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.01212, allocations: 0.8853 MB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.01271, allocations: 417.7 kB / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.01573, allocations: 3.346 MB / 288.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.01712, allocations: 1.549 MB / 289.8 MB, free: 412 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.111/0.1281, allocations: 2.427 MB / 292.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.1306, allocations: 1.813 MB / 294 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008533/0.1314, allocations: 356.2 kB / 294.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.1324, allocations: 473.3 kB / 294.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.133, allocations: 0.945 MB / 295.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.1341, allocations: 1.115 MB / 296.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.1365, allocations: 2.782 MB / 299.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1365, allocations: 1.75 kB / 299.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1365, allocations: 0.5625 kB / 299.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.108e-05/0.1365, allocations: 0 / 299.7 MB, free: 15.25 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.004349/0.1409, allocations: 3.769 MB / 303.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1409, allocations: 12.48 kB / 303.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.1428, allocations: 0.9471 MB / 304.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.1442, allocations: 1.578 MB / 306 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.1443, allocations: 195.8 kB / 306.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.1445, allocations: 270.1 kB / 306.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.1469, allocations: 2.272 MB / 308.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.147, allocations: 3.938 kB / 308.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.1471, allocations: 116.1 kB / 308.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.1472, allocations: 102.5 kB / 308.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.1488, allocations: 0.9633 MB / 309.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006462/0.1552, allocations: 8.232 MB / 318.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1569, allocations: 1.337 MB / 319.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.1573, allocations: 458.6 kB / 319.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/0.159, allocations: 1.771 MB / 321.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.159, allocations: 46.39 kB / 321.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.159, allocations: 4 kB / 321.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002728/0.1618, allocations: 1.578 MB / 323.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1618, allocations: 90.11 kB / 323.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.1628, allocations: 1.152 MB / 324.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.1628, allocations: 45.7 kB / 324.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.1634, allocations: 1.291 MB / 325.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.1636, allocations: 393.5 kB / 326.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.1638, allocations: 240.5 kB / 326.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1639, allocations: 0.5433 MB / 327.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.1642, allocations: 174.5 kB / 327.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1647, allocations: 0.5757 MB / 327.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.1654, allocations: 0.8451 MB / 328.7 MB, free: 7.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1654, allocations: 7.938 kB / 328.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001323/0.1668, allocations: 1.144 MB / 329.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1668, allocations: 8.625 kB / 329.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1668, allocations: 8 kB / 329.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.1675, allocations: 393.8 kB / 330.2 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.1679, allocations: 209.7 kB / 330.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.1715, allocations: 5.822 MB / 336.2 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1719, allocations: 131.1 kB / 336.4 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.1719, allocations: 47.98 kB / 336.4 MB, free: 60 kB / 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.0003381/0.1723, allocations: 231.3 kB / 336.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.1724, allocations: 179 kB / 336.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.1736, allocations: 0.9437 MB / 337.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1736, allocations: 12 kB / 337.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1736, allocations: 11.98 kB / 337.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1737, allocations: 3.984 kB / 337.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.1765, allocations: 2.911 MB / 340.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1765, allocations: 0 / 340.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.1768, allocations: 127.3 kB / 340.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006744/0.1775, allocations: 390.1 kB / 341.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.1775, allocations: 31.98 kB / 341.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.181, allocations: 5.8 MB / 347 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.181, allocations: 4 kB / 347 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.1825, allocations: 1.447 MB / 348.5 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1826, allocations: 170.8 kB / 348.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1827, allocations: 27.98 kB / 348.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.1831, allocations: 79.92 kB / 348.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.1832, allocations: 108.5 kB / 348.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1833, allocations: 31.98 kB / 348.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005874/0.1839, allocations: 0.6624 MB / 349.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1839, allocations: 0 / 349.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001147/0.185, allocations: 0.6891 MB / 350.2 MB, free: 1.973 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.0002194/0.1852, allocations: 154.1 kB / 350.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1865, allocations: 1.235 MB / 351.6 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1865, allocations: 4.312 kB / 351.6 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.1873, allocations: 0.917 MB / 352.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.1881, allocations: 291.4 kB / 352.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.1923, allocations: 4.009 MB / 356.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.1928, allocations: 0.7653 MB / 357.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.1933, allocations: 262.7 kB / 357.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1934, allocations: 96.47 kB / 358 MB, free: 10.11 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1934, allocations: 0 / 358 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Templates: time 0.02439/0.2178, allocations: 21.55 MB / 379.5 MB, free: 4.969 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0538687598891556]