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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.1 kB / 17.07 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.001561, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2613, allocations: 49.43 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002791/0.2642, allocations: 1.79 MB / 402.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.2651, allocations: 0.6348 MB / 403.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.2652, allocations: 4 kB / 403.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2653, allocations: 19.8 kB / 403.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.2654, allocations: 35.69 kB / 403.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.2656, allocations: 47.81 kB / 403.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.2658, allocations: 123.4 kB / 403.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2659, allocations: 41.34 kB / 403.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.266, allocations: 39.86 kB / 403.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.2661, allocations: 47.78 kB / 403.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2661, allocations: 8 kB / 403.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.2662, allocations: 27.98 kB / 403.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.2662, allocations: 23.91 kB / 403.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.2663, allocations: 51.73 kB / 403.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2665, allocations: 127.5 kB / 403.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2665, allocations: 0 / 403.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2665, allocations: 0 / 403.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2665, allocations: 4 kB / 403.7 MB, free: 6.016 MB / 318.1 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.0004887/0.267, allocations: 411.2 kB / 404.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2671, allocations: 11.89 kB / 404.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.2672, allocations: 32.77 kB / 404.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2674, allocations: 196.2 kB / 404.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2675, allocations: 16.5 kB / 404.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.2675, allocations: 8.375 kB / 404.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2677, allocations: 95.47 kB / 404.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2677, allocations: 0 / 404.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2677, allocations: 4 kB / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2677, allocations: 4 kB / 404.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2678, allocations: 63.95 kB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.2684, allocations: 447.6 kB / 405 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.2687, allocations: 106.6 kB / 405.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.2688, allocations: 32.78 kB / 405.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2688, allocations: 8 kB / 405.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2688, allocations: 30.56 kB / 405.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.2688, allocations: 4 kB / 405.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001187/0.27, allocations: 0.5306 MB / 405.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2701, allocations: 51.41 kB / 405.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2702, allocations: 124.5 kB / 405.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2702, allocations: 29.7 kB / 405.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.2702, allocations: 111.9 kB / 406 MB, free: 3.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2703, allocations: 43.59 kB / 406 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.2703, allocations: 33.64 kB / 406.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.2704, allocations: 322.8 kB / 406.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.2705, allocations: 32 kB / 406.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.2706, allocations: 62.06 kB / 406.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2707, allocations: 87.38 kB / 406.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2707, allocations: 0 / 406.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001888/0.2709, allocations: 138.4 kB / 406.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2709, allocations: 4 kB / 406.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2709, allocations: 0 / 406.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2709, allocations: 4 kB / 406.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2711, allocations: 28.03 kB / 406.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2711, allocations: 7.875 kB / 406.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.2711, allocations: 15.92 kB / 406.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.2712, allocations: 4 kB / 406.8 MB, free: 2.656 MB / 318.1 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.336e-05/0.2712, allocations: 121.8 kB / 406.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.2713, allocations: 11.98 kB / 406.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.2713, allocations: 16.38 kB / 406.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2713, allocations: 0 / 406.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2713, allocations: 0 / 406.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2713, allocations: 3.938 kB / 406.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.2718, allocations: 424.1 kB / 407.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2719, allocations: 3.984 kB / 407.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.272, allocations: 32.06 kB / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.272, allocations: 3.938 kB / 407.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.272, allocations: 7.984 kB / 407.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.272, allocations: 3.938 kB / 407.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.272, allocations: 4 kB / 407.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2723, allocations: 241.1 kB / 407.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.2723, allocations: 89.06 kB / 407.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.2724, allocations: 15.97 kB / 407.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.2725, allocations: 0 / 407.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.2725, allocations: 7.938 kB / 407.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2725, allocations: 8.094 kB / 407.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.2726, allocations: 95.2 kB / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2726, allocations: 0 / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.2728, allocations: 28 kB / 407.9 MB, free: 1.449 MB / 318.1 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.93e-05/0.2729, allocations: 114.6 kB / 408 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2731, allocations: 80.08 kB / 408 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2731, allocations: 0 / 408 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.2732, allocations: 47.86 kB / 408.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2735, allocations: 15.98 kB / 408.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.2742, allocations: 474 kB / 408.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2744, allocations: 0.7002 MB / 409.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.2745, allocations: 20.86 kB / 409.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.2745, allocations: 11.44 kB / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2745, allocations: 0 / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Templates: time 0.00314/0.2777, allocations: 1.125 MB / 410.4 MB, free: 14.82 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches