Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001821/0.001821, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002157/0.002157, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.497/1.497, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.979e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02921/0.02924, allocations: 14.33 MB / 281.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.04296, allocations: 4.532 MB / 286.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.04628, allocations: 159.2 kB / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1276/0.1739, allocations: 7.069 MB / 293.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00594/0.1798, allocations: 2.05 MB / 295.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.1834, allocations: 1.492 MB / 297 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009825/0.1932, allocations: 9.817 MB / 306.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01716/0.2104, allocations: 13.5 MB / 320.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01439/0.2248, allocations: 7.748 MB / 328 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.2353, allocations: 5.259 MB / 333.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003813/0.2391, allocations: 1.359 MB / 334.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.2452, allocations: 1.651 MB / 336.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.2498, allocations: 2.852 MB / 339.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008745/0.2585, allocations: 3.593 MB / 342.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02572/0.2843, allocations: 18.65 MB / 361.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2843, allocations: 0 / 361.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2843, allocations: 0 / 361.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004913/0.2848, allocations: 0 / 361.4 MB, free: 9.656 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03693/0.3217, allocations: 12.15 MB / 373.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3217, allocations: 8.922 kB / 373.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03706/0.3588, allocations: 7.713 MB / 381.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/0.3738, allocations: 6.14 MB / 387.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008989/0.3747, allocations: 0.666 MB / 388.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003556/0.3783, allocations: 0.8812 MB / 388.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04103/0.4193, allocations: 14.95 MB / 403.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005233/0.4199, allocations: 11.89 kB / 403.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/0.4229, allocations: 369.5 kB / 404.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/0.4235, allocations: 499.3 kB / 404.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03056/0.4541, allocations: 13.47 MB / 418.2 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3305/0.7846, allocations: 39.6 MB / 457.8 MB, free: 97.07 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009552/0.7941, allocations: 5.945 MB / 463.8 MB, free: 95.12 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.7984, allocations: 2.864 MB / 466.6 MB, free: 94.12 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.7988, allocations: 111.6 kB / 466.7 MB, free: 94.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.7989, allocations: 77.69 kB / 466.8 MB, free: 94.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 1.045e-05/0.7989, allocations: 5.078 kB / 466.8 MB, free: 94.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.02051/0.8194, allocations: 9.539 MB / 476.4 MB, free: 89.59 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.8195, allocations: 120.1 kB / 476.5 MB, free: 89.5 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.8245, allocations: 3.236 MB / 479.7 MB, free: 87.82 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005392/0.825, allocations: 92.42 kB / 479.8 MB, free: 87.73 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.827, allocations: 3.809 MB / 483.6 MB, free: 84.54 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.8283, allocations: 1.447 MB / 485.1 MB, free: 83.29 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002444/0.8308, allocations: 1.121 MB / 486.2 MB, free: 82.15 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.8308, allocations: 305.1 kB / 486.5 MB, free: 81.85 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.835, allocations: 2.838 MB / 489.3 MB, free: 79.01 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.8399, allocations: 4.9 MB / 494.2 MB, free: 73.16 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009461/0.8493, allocations: 8.247 MB / 0.4907 GB, free: 63.98 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.8494, allocations: 24 kB / 0.4907 GB, free: 63.96 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01676/0.8662, allocations: 9.362 MB / 0.4999 GB, free: 54.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.8663, allocations: 36.94 kB / 0.4999 GB, free: 54.55 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.8664, allocations: 64 kB / 0.5 GB, free: 54.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004471/0.8709, allocations: 1.37 MB / 0.5013 GB, free: 53.11 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004839/0.8757, allocations: 1.295 MB / 0.5026 GB, free: 51.82 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.8889, allocations: 10.46 MB / 0.5128 GB, free: 41.19 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004763/0.8937, allocations: 0.7414 MB / 0.5135 GB, free: 40.44 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/0.8948, allocations: 276 kB / 0.5138 GB, free: 40.17 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007167/0.902, allocations: 3.419 MB / 0.5171 GB, free: 36.74 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/0.9035, allocations: 497.7 kB / 0.5176 GB, free: 36.25 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.9146, allocations: 6.885 MB / 0.5243 GB, free: 29.34 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00778/0.9224, allocations: 5.694 MB / 0.5299 GB, free: 23.63 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/0.9224, allocations: 12 kB / 0.5299 GB, free: 23.62 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.9224, allocations: 19.92 kB / 0.5299 GB, free: 23.6 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/0.947, allocations: 13.43 MB / 0.543 GB, free: 10.02 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.947, allocations: 13 kB / 0.543 GB, free: 10.01 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/0.9499, allocations: 0.7918 MB / 0.5438 GB, free: 9.219 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/0.9538, allocations: 1.274 MB / 0.545 GB, free: 7.938 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003912/0.9542, allocations: 112 kB / 0.5451 GB, free: 7.828 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.9672, allocations: 10.21 MB / 0.5551 GB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/0.9673, allocations: 15.94 kB / 0.5551 GB, free: 13.42 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/0.9874, allocations: 10.81 MB / 0.5657 GB, free: 2.375 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/0.9901, allocations: 0.9571 MB / 0.5666 GB, free: 1.414 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008721/0.991, allocations: 99.92 kB / 0.5667 GB, free: 1.316 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/0.994, allocations: 271.7 kB / 0.567 GB, free: 1.051 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/0.9953, allocations: 355 kB / 0.5673 GB, free: 0.7031 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006459/0.996, allocations: 152 kB / 0.5675 GB, free: 0.5547 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.1595/1.155, allocations: 2.083 MB / 0.5695 GB, free: 118.1 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.6e-07/1.155, allocations: 0 / 0.5695 GB, free: 118.1 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00789/1.163, allocations: 2.258 MB / 0.5717 GB, free: 118.1 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/1.165, allocations: 299 kB / 0.572 GB, free: 118.1 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.178, allocations: 7.155 MB / 0.579 GB, free: 116.9 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.069e-05/1.178, allocations: 5.812 kB / 0.579 GB, free: 116.9 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005889/1.184, allocations: 3.4 MB / 0.5823 GB, free: 115.6 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/1.189, allocations: 0.8045 MB / 0.5831 GB, free: 115.3 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/1.216, allocations: 16.47 MB / 0.5992 GB, free: 107.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007444/1.223, allocations: 5.471 MB / 0.6045 GB, free: 103.4 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.006177/1.229, allocations: 2.153 MB / 0.6066 GB, free: 102 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.231, allocations: 323.3 kB / 0.6069 GB, free: 101.7 MB / 394.8 MB Notification: Performance of SimCode: time 2.194e-06/1.231, allocations: 0 / 0.6069 GB, free: 101.7 MB / 394.8 MB Notification: Performance of Templates: time 0.08237/1.313, allocations: 54.82 MB / 0.6604 GB, free: 48.53 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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: 7.5316831229720265]