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.0009373/0.0009373, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009168/0.0009168, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.956/0.956, allocations: 177.1 MB / 205 MB, free: 5.609 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 1.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.857e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006286/0.006304, allocations: 7.713 MB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.009623, allocations: 2.456 MB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.01006, allocations: 75.5 kB / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.01071, allocations: 460.7 kB / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.01226, allocations: 0.8853 MB / 284.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.01282, allocations: 415.1 kB / 285 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.01537, allocations: 3.348 MB / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.01676, allocations: 1.556 MB / 289.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.118, allocations: 2.425 MB / 292.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.1202, allocations: 1.809 MB / 294.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000789/0.121, allocations: 356.9 kB / 294.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008587/0.1218, allocations: 479.8 kB / 294.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.1224, allocations: 0.9396 MB / 295.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1235, allocations: 1.116 MB / 297 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.1257, allocations: 2.78 MB / 299.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1257, allocations: 1.703 kB / 299.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1257, allocations: 0 / 299.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.376e-05/0.1257, allocations: 2.219 kB / 299.8 MB, free: 15.45 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.004003/0.1297, allocations: 3.773 MB / 303.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1297, allocations: 8.5 kB / 303.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.1316, allocations: 0.9417 MB / 304.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.133, allocations: 1.579 MB / 306.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.1331, allocations: 203.8 kB / 306.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.1333, allocations: 268.8 kB / 306.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.1357, allocations: 2.273 MB / 308.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.1358, allocations: 0 / 308.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.1359, allocations: 116 kB / 308.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.136, allocations: 102.4 kB / 309 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.1376, allocations: 0.9649 MB / 310 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00648/0.1441, allocations: 8.226 MB / 318.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1458, allocations: 1.347 MB / 319.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.1462, allocations: 459 kB / 320 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.1479, allocations: 1.766 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1479, allocations: 50.39 kB / 321.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.295e-06/0.1479, allocations: 0 / 321.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002773/0.1507, allocations: 1.575 MB / 323.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1507, allocations: 94.11 kB / 323.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.1517, allocations: 1.156 MB / 324.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1518, allocations: 45.7 kB / 324.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.1523, allocations: 1.286 MB / 326 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.1525, allocations: 393.4 kB / 326.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.1528, allocations: 240.5 kB / 326.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1529, allocations: 0.5433 MB / 327.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1532, allocations: 170.5 kB / 327.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.1536, allocations: 0.5761 MB / 327.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.1544, allocations: 0.8492 MB / 328.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.1544, allocations: 7.938 kB / 328.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001355/0.1558, allocations: 1.144 MB / 329.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1558, allocations: 8 kB / 329.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1558, allocations: 11.94 kB / 329.9 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/0.1566, allocations: 387 kB / 330.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.157, allocations: 221.6 kB / 330.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.161, allocations: 5.81 MB / 336.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.1613, allocations: 135.1 kB / 336.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.1614, allocations: 51.98 kB / 336.5 MB, free: 284 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.0004229/0.1618, allocations: 231 kB / 336.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.162, allocations: 183.1 kB / 336.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1632, allocations: 0.9461 MB / 337.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1632, allocations: 12 kB / 337.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1632, allocations: 4 kB / 337.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.1632, allocations: 11.97 kB / 337.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.1665, allocations: 2.904 MB / 340.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1665, allocations: 4 kB / 340.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1668, allocations: 127.2 kB / 340.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/0.1674, allocations: 397 kB / 341.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.1675, allocations: 27.98 kB / 341.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003713/0.1712, allocations: 5.796 MB / 347.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1712, allocations: 4 kB / 347.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.1727, allocations: 1.438 MB / 348.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1728, allocations: 166.8 kB / 348.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.173, allocations: 24 kB / 348.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.1734, allocations: 83.91 kB / 348.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.1735, allocations: 107.1 kB / 348.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.1736, allocations: 31.98 kB / 348.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005855/0.1741, allocations: 0.6624 MB / 349.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1741, allocations: 0 / 349.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001256/0.1754, allocations: 0.6852 MB / 350.3 MB, free: 2.207 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.0002365/0.1756, allocations: 160.4 kB / 350.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.1771, allocations: 1.241 MB / 351.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1771, allocations: 0 / 351.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.1779, allocations: 0.917 MB / 352.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.1787, allocations: 290.7 kB / 352.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.183, allocations: 4.016 MB / 356.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.1836, allocations: 0.7614 MB / 357.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00043/0.184, allocations: 274.7 kB / 357.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1842, allocations: 92.48 kB / 358 MB, free: 10.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.203e-06/0.1842, allocations: 4 kB / 358 MB, free: 10.32 MB / 314.7 MB Notification: Performance of Templates: time 0.02567/0.2098, allocations: 21.55 MB / 379.6 MB, free: 5.152 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.1142760231159627]