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.001098/0.001098, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001148/0.001148, allocations: 170.4 kB / 25.61 MB, free: 8.922 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.9047/0.9047, allocations: 177.2 MB / 206.1 MB, free: 4.488 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.313e-06/1.313e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.023e-05, allocations: 2.906 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006253/0.006273, allocations: 7.49 MB / 281.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.01013, allocations: 2.442 MB / 284.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.01068, allocations: 71.56 kB / 284.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.01135, allocations: 476.7 kB / 284.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.01275, allocations: 0.8774 MB / 285.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.0133, allocations: 407.1 kB / 285.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.0157, allocations: 3.352 MB / 289.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.01727, allocations: 1.548 MB / 290.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.01956, allocations: 2.433 MB / 293.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.02133, allocations: 1.817 MB / 295.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.02174, allocations: 356 kB / 295.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.02238, allocations: 471.8 kB / 295.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005657/0.02294, allocations: 0.9464 MB / 296.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.0241, allocations: 1.115 MB / 298 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.02621, allocations: 2.78 MB / 300.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.02622, allocations: 3.984 kB / 300.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02622, allocations: 0 / 300.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.02626, allocations: 0 / 300.7 MB, free: 9.734 MB / 282.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.003955/0.03021, allocations: 3.635 MB / 304.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.127e-05/0.03023, allocations: 8.031 kB / 304.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.03235, allocations: 0.9083 MB / 305.3 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.03378, allocations: 1.483 MB / 306.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.03387, allocations: 197.7 kB / 307 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.03412, allocations: 272.3 kB / 307.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.03617, allocations: 2.11 MB / 309.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.03621, allocations: 3.938 kB / 309.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.03636, allocations: 104 kB / 309.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/0.03643, allocations: 105.4 kB / 309.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.03746, allocations: 0.7432 MB / 310.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007568/0.04503, allocations: 7.61 MB / 317.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.04708, allocations: 1.218 MB / 319.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.04755, allocations: 396.9 kB / 319.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.04996, allocations: 1.694 MB / 321.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.05, allocations: 54.39 kB / 321.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 3.227e-06/0.05, allocations: 0 / 321.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.00283/0.05283, allocations: 1.45 MB / 322.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.05287, allocations: 94.11 kB / 322.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.05391, allocations: 1.136 MB / 323.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.05398, allocations: 41.7 kB / 324 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/0.05468, allocations: 1.299 MB / 325.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.05493, allocations: 392.7 kB / 325.7 MB, free: 160 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/0.05551, allocations: 252.4 kB / 325.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.05568, allocations: 0.5511 MB / 326.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.05587, allocations: 134.5 kB / 326.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.05626, allocations: 0.5372 MB / 327.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.05692, allocations: 0.7731 MB / 327.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.05693, allocations: 7.938 kB / 327.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001459/0.05839, allocations: 1.046 MB / 329 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.05841, allocations: 8 kB / 329 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.05843, allocations: 8 kB / 329 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.0592, allocations: 366.1 kB / 329.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.05963, allocations: 207.6 kB / 329.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.06363, allocations: 5.631 MB / 335.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.06421, allocations: 119.1 kB / 335.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.06426, allocations: 36 kB / 335.3 MB, free: 5.934 MB / 314.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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005787/0.06484, allocations: 228.2 kB / 335.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.06503, allocations: 175.1 kB / 335.7 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.06612, allocations: 0.8792 MB / 336.6 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.06613, allocations: 15.94 kB / 336.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.06613, allocations: 4 kB / 336.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.06614, allocations: 7.984 kB / 336.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.0692, allocations: 2.811 MB / 339.4 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.06921, allocations: 4.031 kB / 339.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.06948, allocations: 123.8 kB / 339.5 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.0701, allocations: 361.9 kB / 339.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.07015, allocations: 31.98 kB / 339.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.0738, allocations: 5.618 MB / 345.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.0738, allocations: 3.938 kB / 345.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.07526, allocations: 1.338 MB / 346.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.07546, allocations: 154.8 kB / 347 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.07557, allocations: 27.98 kB / 347.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.07592, allocations: 55.97 kB / 347.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.07608, allocations: 108.6 kB / 347.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.07612, allocations: 23.98 kB / 347.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000771/0.07689, allocations: 0.6114 MB / 347.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.07689, allocations: 4 kB / 347.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001452/0.07834, allocations: 0.6813 MB / 348.5 MB, free: 8.297 MB / 330.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.0002333/0.07857, allocations: 159.1 kB / 348.7 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.07989, allocations: 1.167 MB / 349.9 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.0799, allocations: 3.938 kB / 349.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.0807, allocations: 0.8829 MB / 350.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.08156, allocations: 296.4 kB / 351 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.08625, allocations: 3.981 MB / 355 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.0868, allocations: 0.7614 MB / 355.8 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.08719, allocations: 170.9 kB / 356 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.08768, allocations: 378 kB / 356.3 MB, free: 304 kB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.08768, allocations: 0 / 356.3 MB, free: 304 kB / 330.7 MB Notification: Performance of Templates: time 0.1242/0.2119, allocations: 22.2 MB / 378.5 MB, free: 62.83 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.1921192412264645]