Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.0009219/0.0009219, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002387, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008504/0.0008504, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.00214, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8464/0.8464, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1631/1.01, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.071e-05, allocations: 3.281 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002754/0.002775, allocations: 1.872 MB / 241.6 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.003722, allocations: 0.6362 MB / 242.2 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.003801, allocations: 7.938 kB / 242.2 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.003882, allocations: 15.86 kB / 242.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.00396, allocations: 36.86 kB / 242.3 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004111, allocations: 56.34 kB / 242.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.004308, allocations: 129 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.004418, allocations: 18.23 kB / 242.5 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.004555, allocations: 75.81 kB / 242.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004659, allocations: 35.89 kB / 242.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004681, allocations: 8 kB / 242.6 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.004784, allocations: 33.11 kB / 242.6 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.004808, allocations: 11.94 kB / 242.7 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.004847, allocations: 31.94 kB / 242.7 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005047, allocations: 88.66 kB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.005059, allocations: 0 / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00506, allocations: 1 kB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.00507, allocations: 4 kB / 242.8 MB, free: 3.316 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005416/0.005612, allocations: 337 kB / 243.1 MB, free: 2.965 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005648, allocations: 12.72 kB / 243.1 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.005885, allocations: 110.6 kB / 243.2 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.006056, allocations: 134.3 kB / 243.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.006069, allocations: 4.562 kB / 243.4 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.006099, allocations: 18.83 kB / 243.4 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.00623, allocations: 76.39 kB / 243.5 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.006242, allocations: 0 / 243.5 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.006256, allocations: 7.984 kB / 243.5 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.006264, allocations: 4 kB / 243.5 MB, free: 2.562 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.006335, allocations: 23.98 kB / 243.5 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.006887, allocations: 296.8 kB / 243.8 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.007082, allocations: 87.09 kB / 243.9 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.00711, allocations: 16.86 kB / 243.9 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.007121, allocations: 1.094 kB / 243.9 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.007146, allocations: 38.56 kB / 243.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.007148, allocations: 0 / 243.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008216/0.00797, allocations: 329.3 kB / 244.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007998, allocations: 52.31 kB / 244.3 MB, free: 1.652 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.008075, allocations: 122.2 kB / 244.4 MB, free: 1.523 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.008095, allocations: 31.48 kB / 244.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.008144, allocations: 104 kB / 244.5 MB, free: 1.383 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.008179, allocations: 51.58 kB / 244.6 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.008223, allocations: 33.69 kB / 244.6 MB, free: 1.293 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.008314, allocations: 322.8 kB / 244.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.008336, allocations: 8.656 kB / 245 MB, free: 0.957 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.008382, allocations: 47.34 kB / 245 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.141e-05/0.008463, allocations: 69.94 kB / 245.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008465, allocations: 0 / 245.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001267/0.008592, allocations: 90.41 kB / 245.2 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.008608, allocations: 4 kB / 245.2 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.008616, allocations: 4.5 kB / 245.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.008631, allocations: 0 / 245.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.008795, allocations: 44.75 kB / 245.2 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.0088, allocations: 0 / 245.2 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.008843, allocations: 9.625 kB / 245.2 MB, free: 0.668 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.00885, allocations: 4 kB / 245.2 MB, free: 0.6641 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.008916, allocations: 113.8 kB / 245.3 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.008943, allocations: 20.05 kB / 245.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.008976, allocations: 12.44 kB / 245.4 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008979, allocations: 7.938 kB / 245.4 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008981, allocations: 0 / 245.4 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008984, allocations: 0 / 245.4 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.009493, allocations: 276.2 kB / 245.6 MB, free: 208 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009496, allocations: 4 kB / 245.6 MB, free: 204 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.009646, allocations: 35.97 kB / 245.7 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009663, allocations: 12 kB / 245.7 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.009667, allocations: 8 kB / 245.7 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.009677, allocations: 4 kB / 245.7 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.009681, allocations: 4 kB / 245.7 MB, free: 140 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.009683, allocations: 3.938 kB / 245.7 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.009891, allocations: 209.1 kB / 245.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.009908, allocations: 7.938 kB / 245.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.009987, allocations: 4 kB / 245.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.01001, allocations: 7.922 kB / 245.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01001, allocations: 8 kB / 245.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.338e-05/0.01004, allocations: 20.84 kB / 246 MB, free: 15.86 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01004, allocations: 4 kB / 246 MB, free: 15.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.01024, allocations: 28 kB / 246 MB, free: 15.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.01035, allocations: 76.42 kB / 246.1 MB, free: 15.74 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01046, allocations: 66.72 kB / 246.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.01047, allocations: 4 kB / 246.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.01052, allocations: 40.72 kB / 246.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.01083, allocations: 216.3 kB / 246.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.013, allocations: 313.5 kB / 246.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.01305, allocations: 71.3 kB / 246.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.01311, allocations: 8.641 kB / 246.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.0132, allocations: 67.38 kB / 246.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of SimCode: time 1.233e-06/0.0132, allocations: 0 / 246.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of Templates: time 0.003735/0.01693, allocations: 1.381 MB / 248.2 MB, free: 13.54 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.43546396587044]