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.0009774/0.0009774, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008712/0.0008712, allocations: 141.1 kB / 24.54 MB, free: 36 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 0.9388/0.9388, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.084e-06/2.084e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.817e-05, allocations: 5.969 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01471/0.01475, allocations: 16.12 MB / 284.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008894/0.02364, allocations: 4.606 MB / 288.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/0.02616, allocations: 159.2 kB / 288.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1375/0.1636, allocations: 7.682 MB / 296.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.1699, allocations: 2.062 MB / 298.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.1738, allocations: 1.511 MB / 300.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01334/0.1872, allocations: 9.83 MB / 310 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/0.2051, allocations: 13.5 MB / 323.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.2172, allocations: 7.806 MB / 331.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.2258, allocations: 5.821 MB / 337.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003613/0.2294, allocations: 1.363 MB / 338.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.2349, allocations: 1.642 MB / 340.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.2374, allocations: 2.898 MB / 343 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006659/0.244, allocations: 3.644 MB / 346.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.2574, allocations: 9.407 MB / 356.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2574, allocations: 3.938 kB / 356.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2574, allocations: 4 kB / 356.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004216/0.2578, allocations: 0 / 356.1 MB, free: 0.8633 MB / 298.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.02833/0.2861, allocations: 13.07 MB / 369.1 MB, free: 3.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.2862, allocations: 8.922 kB / 369.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/0.3137, allocations: 7.724 MB / 376.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009774/0.3235, allocations: 5.476 MB / 382.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/0.3241, allocations: 0.6732 MB / 383 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002698/0.3268, allocations: 0.8804 MB / 383.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.3455, allocations: 8.04 MB / 391.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.3456, allocations: 11.95 kB / 392 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007781/0.3464, allocations: 369.1 kB / 392.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003786/0.3468, allocations: 499.3 kB / 392.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.357, allocations: 4.329 MB / 397.1 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04748/0.4044, allocations: 35.36 MB / 432.5 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.41, allocations: 4.127 MB / 436.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2561/0.6661, allocations: 1.34 MB / 438 MB, free: 92.39 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.6665, allocations: 109.7 kB / 438.1 MB, free: 92.39 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.6666, allocations: 84.78 kB / 438.1 MB, free: 92.34 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.123e-06/0.6666, allocations: 0 / 438.1 MB, free: 92.34 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.0118/0.6784, allocations: 5.398 MB / 443.5 MB, free: 92.09 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.6785, allocations: 121 kB / 443.7 MB, free: 91.99 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.6819, allocations: 3.082 MB / 446.7 MB, free: 91.68 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.6822, allocations: 89.7 kB / 446.8 MB, free: 91.64 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.684, allocations: 4.072 MB / 450.9 MB, free: 90.12 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009338/0.6849, allocations: 1.497 MB / 452.4 MB, free: 89.36 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.6861, allocations: 1.276 MB / 453.7 MB, free: 89.25 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.6861, allocations: 476.8 kB / 454.1 MB, free: 88.78 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6875, allocations: 0.9014 MB / 455 MB, free: 88.76 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.6898, allocations: 4.004 MB / 459 MB, free: 85.13 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.6936, allocations: 5.407 MB / 464.5 MB, free: 81.41 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.015e-05/0.6937, allocations: 24.33 kB / 464.5 MB, free: 81.41 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.00755/0.7012, allocations: 5.285 MB / 469.8 MB, free: 80.98 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.7013, allocations: 37.62 kB / 469.8 MB, free: 80.98 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.7014, allocations: 67.38 kB / 469.9 MB, free: 80.98 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.7037, allocations: 1.08 MB / 470.9 MB, free: 80.92 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.7065, allocations: 1.298 MB / 472.2 MB, free: 80.91 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.7132, allocations: 7.928 MB / 480.2 MB, free: 76.78 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.7164, allocations: 0.7478 MB / 480.9 MB, free: 76.55 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.7166, allocations: 274.9 kB / 481.2 MB, free: 76.52 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.00192/0.7185, allocations: 0.5329 MB / 481.7 MB, free: 76.15 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/0.7191, allocations: 0.4909 MB / 482.2 MB, free: 75.9 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/0.724, allocations: 3.915 MB / 486.1 MB, free: 74.61 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003386/0.7274, allocations: 2.836 MB / 489 MB, free: 72.21 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.7274, allocations: 13.06 kB / 489 MB, free: 72.2 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.7275, allocations: 18.19 kB / 489 MB, free: 72.2 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.741, allocations: 11.34 MB / 0.4886 GB, free: 62.26 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.741, allocations: 12 kB / 0.4886 GB, free: 62.25 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.7425, allocations: 0.7919 MB / 0.4894 GB, free: 61.63 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.7445, allocations: 0.9945 MB / 0.4904 GB, free: 60.64 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.7447, allocations: 109.2 kB / 0.4905 GB, free: 60.54 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0062/0.7509, allocations: 7.819 MB / 0.4981 GB, free: 52.53 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.7509, allocations: 15.66 kB / 0.4981 GB, free: 52.52 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006951/0.7579, allocations: 5.555 MB / 0.5035 GB, free: 46.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.7593, allocations: 0.8548 MB / 0.5044 GB, free: 45.86 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/0.7596, allocations: 99.09 kB / 0.5045 GB, free: 45.77 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7607, allocations: 275.7 kB / 0.5047 GB, free: 45.5 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.7612, allocations: 353.9 kB / 0.5051 GB, free: 45.16 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7614, allocations: 144 kB / 0.5052 GB, free: 45.02 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00156/0.7629, allocations: 1.343 MB / 0.5065 GB, free: 43.67 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7629, allocations: 4 kB / 0.5065 GB, free: 43.67 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004583/0.7675, allocations: 2.263 MB / 0.5087 GB, free: 41.4 MB / 378.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.000524/0.768, allocations: 294.2 kB / 0.509 GB, free: 41.15 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005805/0.7738, allocations: 4.439 MB / 0.5134 GB, free: 36.89 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7739, allocations: 4 kB / 0.5134 GB, free: 36.88 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.7766, allocations: 2.439 MB / 0.5157 GB, free: 34.52 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.7791, allocations: 0.8126 MB / 0.5165 GB, free: 33.74 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.7956, allocations: 13.48 MB / 0.5297 GB, free: 19.97 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.7975, allocations: 2.501 MB / 0.5321 GB, free: 17.44 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003316/0.8008, allocations: 1.818 MB / 0.5339 GB, free: 15.62 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/0.8016, allocations: 316.4 kB / 0.5342 GB, free: 15.31 MB / 378.8 MB Notification: Performance of SimCode: time 2.675e-06/0.8016, allocations: 4.875 kB / 0.5342 GB, free: 15.3 MB / 378.8 MB Notification: Performance of Templates: time 0.2083/1.01, allocations: 54.66 MB / 0.5876 GB, free: 119.1 MB / 410.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9627843839116395]