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.002054/0.002054, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.003688/0.003688, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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 0.00175/0.00175, allocations: 55.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1019, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2122/0.3141, allocations: 7.888 MB / 434.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.3184, allocations: 2.496 MB / 437.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007808/0.3192, allocations: 70.69 kB / 437.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008883/0.3201, allocations: 468.5 kB / 437.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.3221, allocations: 0.873 MB / 438.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.323, allocations: 401.4 kB / 439 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.3264, allocations: 3.243 MB / 442.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.3287, allocations: 2.134 MB / 444.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.3306, allocations: 1.451 MB / 445.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.3329, allocations: 1.721 MB / 447.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005605/0.3334, allocations: 358.7 kB / 447.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3346, allocations: 0.4891 MB / 448.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007759/0.3354, allocations: 0.9073 MB / 449.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.3373, allocations: 1.61 MB / 450.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00654/0.3438, allocations: 4.719 MB / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3438, allocations: 0 / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3438, allocations: 1.062 kB / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001455/0.344, allocations: 0 / 455.6 MB, free: 13.73 MB / 366.1 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.01143/0.3554, allocations: 3.724 MB / 459.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3555, allocations: 13.11 kB / 459.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.3603, allocations: 0.7452 MB / 460.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/0.3658, allocations: 1.853 MB / 461.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.366, allocations: 200.2 kB / 462.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007039/0.3667, allocations: 258.5 kB / 462.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007893/0.3746, allocations: 3.629 MB / 466 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.3746, allocations: 0 / 466 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.3749, allocations: 107.6 kB / 466.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-05/0.375, allocations: 102.5 kB / 466.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005543/0.3806, allocations: 3.107 MB / 469.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.3979, allocations: 10.28 MB / 479.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/0.4036, allocations: 4.463 MB / 484.1 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.4051, allocations: 0.8717 MB / 484.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004621/0.4097, allocations: 2.661 MB / 487.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.4098, allocations: 43.44 kB / 487.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.055e-06/0.4098, allocations: 4 kB / 487.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006947/0.4167, allocations: 2.642 MB / 490.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.4168, allocations: 89.98 kB / 490.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.4191, allocations: 1.404 MB / 491.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.4192, allocations: 45.7 kB / 491.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/0.4202, allocations: 1.203 MB / 493 MB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.4206, allocations: 380.8 kB / 493.4 MB, free: 12.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.421, allocations: 218.9 kB / 493.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4212, allocations: 357.9 kB / 494 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.4223, allocations: 0.5608 MB / 494.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.4236, allocations: 0.8569 MB / 495.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.426, allocations: 1.453 MB / 496.8 MB, free: 8.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.426, allocations: 8 kB / 496.8 MB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00383/0.4298, allocations: 1.957 MB / 498.8 MB, free: 6.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4298, allocations: 8 kB / 498.8 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4298, allocations: 11.94 kB / 498.8 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.431, allocations: 399.5 kB / 499.2 MB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.4319, allocations: 219.6 kB / 499.4 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.4411, allocations: 6.531 MB / 0.4941 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.443, allocations: 147 kB / 0.4942 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/0.4434, allocations: 47.94 kB / 0.4943 GB, free: 15.29 MB / 414.1 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.002418/0.4458, allocations: 0.8721 MB / 0.4951 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/0.4465, allocations: 147 kB / 0.4953 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.4504, allocations: 1.632 MB / 0.4969 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4504, allocations: 12 kB / 0.4969 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.4504, allocations: 11.98 kB / 0.4969 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4504, allocations: 3.984 kB / 0.4969 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.4589, allocations: 3.915 MB / 0.5007 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.4589, allocations: 5.125 kB / 0.5007 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.4595, allocations: 128 kB / 0.5008 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.4607, allocations: 407.8 kB / 0.5012 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/0.4608, allocations: 27.98 kB / 0.5013 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008835/0.4696, allocations: 6.532 MB / 0.5076 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4696, allocations: 4 kB / 0.5076 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004982/0.4746, allocations: 2.478 MB / 0.5101 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/0.4753, allocations: 248 kB / 0.5103 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.4757, allocations: 24 kB / 0.5103 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.4767, allocations: 83.91 kB / 0.5104 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.477, allocations: 108.5 kB / 0.5105 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4771, allocations: 35.98 kB / 0.5105 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001988/0.4791, allocations: 0.9795 MB / 0.5115 GB, free: 13.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4791, allocations: 0 / 0.5115 GB, free: 13.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002349/0.4815, allocations: 0.6852 MB / 0.5122 GB, free: 12.52 MB / 430.1 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.0003757/0.4819, allocations: 159.6 kB / 0.5123 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.4854, allocations: 1.734 MB / 0.514 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4854, allocations: 0 / 0.514 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.4875, allocations: 1.091 MB / 0.5151 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.4896, allocations: 304.3 kB / 0.5154 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.4992, allocations: 4.648 MB / 0.5199 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/0.5021, allocations: 2.192 MB / 0.522 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5033, allocations: 339 kB / 0.5224 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.5037, allocations: 87.42 kB / 0.5224 GB, free: 1.828 MB / 430.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5037, allocations: 7.938 kB / 0.5225 GB, free: 1.82 MB / 430.1 MB Notification: Performance of Templates: time 0.04631/0.55, allocations: 21.26 MB / 0.5432 GB, free: 12.77 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.424064390361309]