Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002817/0.002824, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.209/3.209, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001983/0.001983, allocations: 94.86 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007768/0.0007771, allocations: 12 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.556, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003422/0.5595, allocations: 1.401 MB / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.5615, allocations: 0.6278 MB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.5618, allocations: 2.375 kB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.67e-05/0.5619, allocations: 13.05 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.5621, allocations: 49.27 kB / 376.6 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.5625, allocations: 36.14 kB / 376.7 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.5628, allocations: 85.56 kB / 376.7 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.563, allocations: 23.09 kB / 376.8 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.5631, allocations: 38.2 kB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.5633, allocations: 40.75 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.5634, allocations: 8.438 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.5636, allocations: 24.83 kB / 376.9 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.5637, allocations: 19.34 kB / 376.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.5638, allocations: 43.55 kB / 376.9 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.5641, allocations: 87.08 kB / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5641, allocations: 0 / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5641, allocations: 0 / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.5641, allocations: 0 / 377 MB, free: 43.52 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008405/0.565, allocations: 396.2 kB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/0.5651, allocations: 10.19 kB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.5655, allocations: 27.22 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5659, allocations: 195.1 kB / 377.6 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.5659, allocations: 12.19 kB / 377.6 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.566, allocations: 10.31 kB / 377.7 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.5664, allocations: 92.02 kB / 377.7 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5664, allocations: 0 / 377.7 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.5665, allocations: 9.062 kB / 377.7 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.5665, allocations: 3.188 kB / 377.8 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.5668, allocations: 60.53 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.5682, allocations: 455.1 kB / 378.3 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.5689, allocations: 104.6 kB / 378.4 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.569, allocations: 1.094 kB / 378.4 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.569, allocations: 31.53 kB / 378.4 MB, free: 42.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 3.737e-06/0.5691, allocations: 0 / 378.4 MB, free: 42.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.002745/0.5718, allocations: 0.531 MB / 378.9 MB, free: 41.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.5719, allocations: 56.59 kB / 379 MB, free: 41.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5721, allocations: 128.7 kB / 379.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.5721, allocations: 25.7 kB / 379.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.5722, allocations: 170.6 kB / 379.3 MB, free: 41.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.5723, allocations: 48.94 kB / 379.3 MB, free: 41.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.5723, allocations: 4 kB / 379.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.5724, allocations: 316.6 kB / 379.7 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5726, allocations: 30.42 kB / 379.7 MB, free: 41.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.5727, allocations: 54.17 kB / 379.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.5729, allocations: 39.62 kB / 379.8 MB, free: 40.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5729, allocations: 0 / 379.8 MB, free: 40.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004497/0.5734, allocations: 136.9 kB / 379.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.5734, allocations: 7.719 kB / 379.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5735, allocations: 0.9375 kB / 379.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.5735, allocations: 5.922 kB / 379.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.5739, allocations: 29.48 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5739, allocations: 6.406 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.5741, allocations: 6.266 kB / 380 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.5742, allocations: 8.156 kB / 380 MB, free: 40.84 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.5743, allocations: 118.1 kB / 380.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.5744, allocations: 12.28 kB / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.5745, allocations: 14.62 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5745, allocations: 5.234 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5745, allocations: 5.031 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5746, allocations: 4 kB / 380.1 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5757, allocations: 424.2 kB / 380.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5757, allocations: 0 / 380.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.5761, allocations: 27.39 kB / 380.6 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.5762, allocations: 4.984 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5762, allocations: 2.25 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.5762, allocations: 1.125 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5762, allocations: 5.156 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.5768, allocations: 275.1 kB / 380.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.5769, allocations: 87.86 kB / 380.9 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.577, allocations: 7.094 kB / 380.9 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5772, allocations: 5.094 kB / 380.9 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5773, allocations: 12.45 kB / 381 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5773, allocations: 2.688 kB / 381 MB, free: 39.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.5774, allocations: 99.92 kB / 381.1 MB, free: 39.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5774, allocations: 0 / 381.1 MB, free: 39.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006544/0.5781, allocations: 26 kB / 381.1 MB, free: 39.83 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.5783, allocations: 97.62 kB / 381.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.5787, allocations: 77.94 kB / 381.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5787, allocations: 1.031 kB / 381.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.5789, allocations: 39.39 kB / 381.3 MB, free: 39.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.5795, allocations: 27.48 kB / 381.3 MB, free: 39.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5811, allocations: 0.5717 MB / 381.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5814, allocations: 0.7066 MB / 382.6 MB, free: 38.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.5815, allocations: 18.31 kB / 382.6 MB, free: 38.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5816, allocations: 0 / 382.6 MB, free: 38.46 MB / 298.7 MB Notification: Performance of Templates: time 0.006136/0.5877, allocations: 1.367 MB / 384 MB, free: 37.76 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches