Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 76.06 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 144.1 kB / 24.97 MB, free: 9.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9646/0.9646, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.473e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009176/0.009201, allocations: 7.092 MB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004074/0.01328, allocations: 2.16 MB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.01383, allocations: 63.62 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.01451, allocations: 464.8 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.01589, allocations: 0.9125 MB / 278.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.0163, allocations: 371.1 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.0184, allocations: 3.232 MB / 282.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.0197, allocations: 1.548 MB / 283.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.02116, allocations: 2.129 MB / 286 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.02258, allocations: 1.676 MB / 287.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.02293, allocations: 360 kB / 288.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.02344, allocations: 479.7 kB / 288.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.02398, allocations: 0.9465 MB / 289.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009281/0.02491, allocations: 1.119 MB / 290.6 MB, free: 60 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1021/0.127, allocations: 2.782 MB / 293.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.127, allocations: 5.781 kB / 293.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.127, allocations: 0 / 293.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.369e-05/0.1271, allocations: 0 / 293.4 MB, free: 19.37 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.00567/0.1328, allocations: 3.834 MB / 297.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1328, allocations: 10.7 kB / 297.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.1354, allocations: 1.033 MB / 298.3 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.1373, allocations: 1.593 MB / 299.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1374, allocations: 201.4 kB / 300 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.1377, allocations: 264.8 kB / 300.3 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.1406, allocations: 2.268 MB / 302.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.1406, allocations: 0 / 302.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.1408, allocations: 113.2 kB / 302.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/0.1409, allocations: 115.1 kB / 302.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.1427, allocations: 0.9551 MB / 303.8 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006967/0.1497, allocations: 8.221 MB / 312 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1514, allocations: 1.35 MB / 313.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.1519, allocations: 445 kB / 313.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.1536, allocations: 1.748 MB / 315.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1537, allocations: 53.86 kB / 315.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.1537, allocations: 0 / 315.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002674/0.1563, allocations: 1.565 MB / 317.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.1564, allocations: 98.09 kB / 317.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/0.1572, allocations: 1.134 MB / 318.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.1573, allocations: 41.7 kB / 318.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.1576, allocations: 1.279 MB / 319.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.1578, allocations: 397 kB / 320.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.158, allocations: 236.5 kB / 320.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.1581, allocations: 0.5434 MB / 320.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.1583, allocations: 170.5 kB / 321 MB, free: 3.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1587, allocations: 0.5799 MB / 321.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.1594, allocations: 0.8366 MB / 322.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1594, allocations: 7.938 kB / 322.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001277/0.1607, allocations: 1.14 MB / 323.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1607, allocations: 8 kB / 323.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1607, allocations: 11.28 kB / 323.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/0.1614, allocations: 386.3 kB / 324 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.1618, allocations: 210.5 kB / 324.2 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.1656, allocations: 5.809 MB / 330 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.166, allocations: 135.1 kB / 330.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.1661, allocations: 44 kB / 330.1 MB, free: 10.22 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.0004035/0.1665, allocations: 226.5 kB / 330.4 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.1667, allocations: 179.1 kB / 330.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.1679, allocations: 0.9547 MB / 331.5 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1679, allocations: 11.62 kB / 331.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1679, allocations: 8 kB / 331.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.168, allocations: 7.984 kB / 331.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.171, allocations: 2.886 MB / 334.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.171, allocations: 0 / 334.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.1713, allocations: 131.1 kB / 334.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.172, allocations: 397 kB / 334.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.1721, allocations: 31.98 kB / 335 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.1758, allocations: 5.8 MB / 340.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1758, allocations: 3.172 kB / 340.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1774, allocations: 1.437 MB / 342.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1775, allocations: 166.8 kB / 342.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1776, allocations: 27.98 kB / 342.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.178, allocations: 79.92 kB / 342.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.1782, allocations: 112.6 kB / 342.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.1782, allocations: 31.98 kB / 342.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006068/0.1788, allocations: 0.6458 MB / 343.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1788, allocations: 0 / 343.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001218/0.18, allocations: 0.6852 MB / 343.9 MB, free: 12.18 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.0002316/0.1803, allocations: 153.5 kB / 344.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1816, allocations: 1.228 MB / 345.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1816, allocations: 0 / 345.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.1824, allocations: 0.9156 MB / 346.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.1833, allocations: 289.3 kB / 346.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.1877, allocations: 3.982 MB / 350.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.1883, allocations: 0.7651 MB / 351.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.1888, allocations: 270.6 kB / 351.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1889, allocations: 84.48 kB / 351.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1889, allocations: 0 / 351.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of Templates: time 0.02461/0.2135, allocations: 20.29 MB / 371.9 MB, free: 452 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2300108540803194]