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.001276/0.001276, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001329/0.001329, allocations: 145.4 kB / 24.89 MB, free: 9.211 MB / 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.9415/0.9415, allocations: 173.3 MB / 201.5 MB, free: 9.195 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.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.483e-06/1.483e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.39e-05, allocations: 10.25 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003179/0.003202, allocations: 1.82 MB / 270.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004315, allocations: 0.6348 MB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.004409, allocations: 0 / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004541, allocations: 19.8 kB / 270.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.004645, allocations: 47.62 kB / 271 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.004902, allocations: 51.73 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.005078, allocations: 127.3 kB / 271.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005189, allocations: 26.22 kB / 271.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.005303, allocations: 67.88 kB / 271.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005411, allocations: 35.89 kB / 271.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.005433, allocations: 8 kB / 271.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.005513, allocations: 19.98 kB / 271.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.005536, allocations: 19.92 kB / 271.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.005584, allocations: 39.92 kB / 271.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.005796, allocations: 103.6 kB / 271.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005799, allocations: 0 / 271.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.0058, allocations: 0 / 271.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005804, allocations: 0 / 271.5 MB, free: 3.168 MB / 250.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.0004267/0.00623, allocations: 304.7 kB / 271.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.006267, allocations: 8.031 kB / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.00646, allocations: 44.89 kB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.006625, allocations: 133.6 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.006638, allocations: 8.562 kB / 271.9 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.006665, allocations: 8.375 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.006791, allocations: 81.45 kB / 272 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006803, allocations: 7.938 kB / 272 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006814, allocations: 4 kB / 272 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006821, allocations: 0 / 272 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.006896, allocations: 31.97 kB / 272.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.007378, allocations: 295.3 kB / 272.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.00757, allocations: 66.48 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.007603, allocations: 16.84 kB / 272.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.007614, allocations: 4 kB / 272.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.00764, allocations: 34.55 kB / 272.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.007642, allocations: 0 / 272.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008598/0.008502, allocations: 329.9 kB / 272.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.008537, allocations: 55.41 kB / 272.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.00862, allocations: 126.4 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.008632, allocations: 25.7 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.008685, allocations: 115.9 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.008718, allocations: 43.58 kB / 273.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.008767, allocations: 29.69 kB / 273.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.008945, allocations: 322.8 kB / 273.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.008973, allocations: 12 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.009023, allocations: 43.41 kB / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.009115, allocations: 75.31 kB / 273.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009117, allocations: 0 / 273.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001407/0.009258, allocations: 97.47 kB / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.00927, allocations: 4 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.009276, allocations: 4 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009289, allocations: 0 / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.009405, allocations: 27.98 kB / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.00941, allocations: 4 kB / 273.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.009455, allocations: 0 / 273.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.009465, allocations: 8 kB / 273.8 MB, free: 0.6445 MB / 250.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 7.569e-05/0.009541, allocations: 125.7 kB / 273.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.00957, allocations: 4.062 kB / 273.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.009605, allocations: 20.44 kB / 273.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009609, allocations: 3.984 kB / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.009611, allocations: 0 / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.009615, allocations: 0 / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.009996, allocations: 284.2 kB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.009998, allocations: 0 / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.01012, allocations: 27.98 kB / 274.2 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01013, allocations: 0 / 274.2 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01014, allocations: 12.06 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01014, allocations: 0 / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01014, allocations: 0 / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.01036, allocations: 209 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.01038, allocations: 7.953 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.01039, allocations: 0 / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.01046, allocations: 4 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.01049, allocations: 11.98 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01049, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.682e-05/0.01052, allocations: 24.83 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01079, allocations: 31.94 kB / 274.5 MB, free: 15.83 MB / 266.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 9.849e-05/0.01089, allocations: 84.36 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01101, allocations: 59.58 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.01102, allocations: 0 / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.01107, allocations: 36.77 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01132, allocations: 23.27 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.01205, allocations: 345.7 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.0121, allocations: 63.34 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.01216, allocations: 12.97 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.01225, allocations: 63.38 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01225, allocations: 4 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003555/0.0158, allocations: 1.245 MB / 276.5 MB, free: 13.86 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.691154316999018]