Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.001511/0.001511, allocations: 105.4 kB / 18.34 MB, free: 4.691 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.00168/0.00168, allocations: 192.1 kB / 19.28 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 225.1 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 51.86 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.08549, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002725/0.08825, allocations: 1.781 MB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.08922, allocations: 0.6795 MB / 331.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.0893, allocations: 0 / 331.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.08943, allocations: 15.86 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.0895, allocations: 35.64 kB / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.08974, allocations: 47.88 kB / 331.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.08991, allocations: 127.4 kB / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.09003, allocations: 33.38 kB / 331.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.09009, allocations: 47.8 kB / 331.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.09019, allocations: 47.77 kB / 331.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.09022, allocations: 8 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.0903, allocations: 27.98 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.09033, allocations: 15.94 kB / 331.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.09039, allocations: 51.73 kB / 331.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.09057, allocations: 135.5 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.09058, allocations: 0 / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09059, allocations: 0 / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.0906, allocations: 0 / 331.7 MB, free: 0.6875 MB / 270.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.0004957/0.0911, allocations: 411.2 kB / 332.1 MB, free: 244 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.09114, allocations: 11.89 kB / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.09132, allocations: 24.83 kB / 332.2 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.09156, allocations: 200.3 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.09158, allocations: 8.562 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.09162, allocations: 8.375 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.0918, allocations: 97.53 kB / 332.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.09182, allocations: 4 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.09184, allocations: 4 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.09185, allocations: 0 / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.09198, allocations: 59.97 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.09263, allocations: 451.5 kB / 333 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.09289, allocations: 98.58 kB / 333.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.09296, allocations: 36.84 kB / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.09298, allocations: 0 / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.09302, allocations: 42.5 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.09302, allocations: 224 / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001249/0.09428, allocations: 0.5348 MB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.09432, allocations: 51.41 kB / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.09442, allocations: 126 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.09444, allocations: 25.7 kB / 333.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.0945, allocations: 107.9 kB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.09454, allocations: 51.3 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.09459, allocations: 25.72 kB / 334.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.0947, allocations: 326.8 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.09476, allocations: 23.98 kB / 334.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.09484, allocations: 59.42 kB / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.09497, allocations: 103.4 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.09498, allocations: 4 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001886/0.09518, allocations: 133.4 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.0952, allocations: 8 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.09521, allocations: 0 / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.09523, allocations: 0 / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.09537, allocations: 31.98 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.09538, allocations: 0 / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.09545, allocations: 7.938 kB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.09547, allocations: 8 kB / 334.8 MB, free: 13.33 MB / 286.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 9.732e-05/0.09557, allocations: 125.8 kB / 334.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.09561, allocations: 7.906 kB / 334.9 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.09565, allocations: 16.36 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.09566, allocations: 4 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.09567, allocations: 0 / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.09568, allocations: 3.938 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.09619, allocations: 428 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0962, allocations: 0 / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.09635, allocations: 27.98 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.09636, allocations: 3.938 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.09638, allocations: 4 kB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.09639, allocations: 4.078 kB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.0964, allocations: 3.938 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.09667, allocations: 261.1 kB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.09672, allocations: 85.02 kB / 335.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.09675, allocations: 3.938 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.09685, allocations: 8 kB / 335.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.09688, allocations: 8.031 kB / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.09689, allocations: 0 / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.02e-05/0.09694, allocations: 95.77 kB / 335.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09695, allocations: 0 / 335.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000253/0.09721, allocations: 28 kB / 335.9 MB, free: 12.12 MB / 286.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 0.0001102/0.09732, allocations: 103.2 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.0975, allocations: 83.91 kB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09751, allocations: 0 / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.09757, allocations: 39.92 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.0979, allocations: 23.52 kB / 336.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.09859, allocations: 460.3 kB / 336.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.09887, allocations: 0.7079 MB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.09893, allocations: 8.891 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.09897, allocations: 11.44 kB / 337.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09898, allocations: 0 / 337.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of Templates: time 0.003322/0.1023, allocations: 1.095 MB / 338.4 MB, free: 9.539 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches