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.001735/0.001735, allocations: 111.4 kB / 18.45 MB, free: 4.562 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.002176/0.002176, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.517/1.517, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001673/0.001673, allocations: 47.92 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1013, allocations: 53.32 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2078/0.3092, allocations: 7.885 MB / 435.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.3137, allocations: 2.502 MB / 437.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.315, allocations: 69.88 kB / 437.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.3161, allocations: 468.9 kB / 438.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.3186, allocations: 0.8814 MB / 439.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3196, allocations: 400.8 kB / 439.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.3235, allocations: 3.241 MB / 442.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.3259, allocations: 2.129 MB / 445 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.3279, allocations: 1.453 MB / 446.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.3312, allocations: 1.72 MB / 448.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009597/0.3322, allocations: 359.6 kB / 448.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.3338, allocations: 491.8 kB / 449 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009113/0.3348, allocations: 0.9117 MB / 450 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.3372, allocations: 1.608 MB / 451.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.3446, allocations: 4.723 MB / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3446, allocations: 0 / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3446, allocations: 0 / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.3448, allocations: 0 / 456.3 MB, free: 13.7 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.01106/0.3558, allocations: 3.724 MB / 460 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3559, allocations: 10.72 kB / 460 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.3605, allocations: 0.7451 MB / 460.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004776/0.3652, allocations: 1.857 MB / 462.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.3654, allocations: 196.3 kB / 462.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006257/0.366, allocations: 257.7 kB / 463.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.3731, allocations: 3.625 MB / 466.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/0.3732, allocations: 2.328 kB / 466.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.3734, allocations: 106.5 kB / 466.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.3735, allocations: 104.3 kB / 466.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0057/0.3792, allocations: 3.105 MB / 470 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.3983, allocations: 10.27 MB / 480.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005555/0.4038, allocations: 4.478 MB / 484.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4054, allocations: 0.8679 MB / 485.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/0.4103, allocations: 2.648 MB / 488.3 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.4104, allocations: 51.42 kB / 488.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.515e-06/0.4104, allocations: 0 / 488.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006949/0.4173, allocations: 2.65 MB / 491 MB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.4174, allocations: 85.98 kB / 491.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.42, allocations: 1.4 MB / 492.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.4202, allocations: 49.7 kB / 492.5 MB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/0.4212, allocations: 1.207 MB / 493.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.4216, allocations: 376.8 kB / 494.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004335/0.422, allocations: 218.9 kB / 494.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4222, allocations: 361.9 kB / 494.6 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4232, allocations: 0.5608 MB / 495.2 MB, free: 11.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.4245, allocations: 0.853 MB / 496.1 MB, free: 10.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4268, allocations: 1.457 MB / 497.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.4268, allocations: 4 kB / 497.5 MB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003828/0.4307, allocations: 1.966 MB / 499.5 MB, free: 6.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4307, allocations: 12 kB / 499.5 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.4307, allocations: 8 kB / 499.5 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.4319, allocations: 399.5 kB / 499.9 MB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.4328, allocations: 215.7 kB / 0.4884 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.4412, allocations: 6.528 MB / 0.4948 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4425, allocations: 147 kB / 0.4949 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.4427, allocations: 51.94 kB / 0.4949 GB, free: 15.23 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.00188/0.4446, allocations: 0.8797 MB / 0.4958 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.4451, allocations: 146 kB / 0.4959 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.4486, allocations: 1.629 MB / 0.4975 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4486, allocations: 16 kB / 0.4975 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.4486, allocations: 4 kB / 0.4976 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.4487, allocations: 11.97 kB / 0.4976 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/0.4569, allocations: 3.911 MB / 0.5014 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4569, allocations: 4 kB / 0.5014 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.4575, allocations: 127.8 kB / 0.5015 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.4586, allocations: 408.8 kB / 0.5019 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-05/0.4587, allocations: 27.98 kB / 0.5019 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008575/0.4673, allocations: 6.518 MB / 0.5083 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4673, allocations: 0.75 kB / 0.5083 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.472, allocations: 2.482 MB / 0.5107 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.4727, allocations: 251.9 kB / 0.511 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.4731, allocations: 28 kB / 0.511 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4742, allocations: 83.91 kB / 0.5111 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.4745, allocations: 100.7 kB / 0.5112 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.4746, allocations: 39.98 kB / 0.5112 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00195/0.4766, allocations: 0.9756 MB / 0.5121 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4766, allocations: 3.938 kB / 0.5122 GB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002693/0.4793, allocations: 0.6891 MB / 0.5128 GB, free: 12.46 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.0004354/0.4797, allocations: 159.1 kB / 0.513 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003584/0.4833, allocations: 1.738 MB / 0.5147 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4833, allocations: 0 / 0.5147 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.4853, allocations: 1.091 MB / 0.5157 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.4876, allocations: 304.6 kB / 0.516 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.4973, allocations: 4.612 MB / 0.5205 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.5002, allocations: 2.128 MB / 0.5226 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.5008, allocations: 107.3 kB / 0.5227 GB, free: 2.195 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5008, allocations: 0 / 0.5227 GB, free: 2.195 MB / 430.1 MB Notification: Performance of Templates: time 0.07772/0.5785, allocations: 53.71 MB / 0.5752 GB, free: 12.55 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 11.147768156020902]