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.001148/0.001148, allocations: 98.7 kB / 17.58 MB, free: 5.418 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.001081/0.001081, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.499/1.499, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001407/0.001407, allocations: 52.39 kB / 280.7 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.099, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003637/0.1027, allocations: 1.758 MB / 329 MB, free: 2.703 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1042, allocations: 0.6873 MB / 329.7 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1044, allocations: 0 / 329.7 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1046, allocations: 23.73 kB / 329.7 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1047, allocations: 35.7 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1051, allocations: 47.81 kB / 329.8 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1054, allocations: 127.4 kB / 330 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1055, allocations: 21.39 kB / 330 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1056, allocations: 43.86 kB / 330 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1057, allocations: 47.78 kB / 330.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1058, allocations: 8 kB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1059, allocations: 23.98 kB / 330.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.106, allocations: 31.91 kB / 330.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1061, allocations: 55.67 kB / 330.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.1064, allocations: 131.8 kB / 330.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1064, allocations: 0 / 330.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1065, allocations: 0 / 330.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1065, allocations: 0 / 330.3 MB, free: 1.418 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.0006757/0.1072, allocations: 407.3 kB / 330.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1072, allocations: 11.89 kB / 330.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.1074, allocations: 28.83 kB / 330.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1076, allocations: 192.2 kB / 330.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1077, allocations: 8.562 kB / 330.9 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1077, allocations: 16.31 kB / 331 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.108, allocations: 89.59 kB / 331 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.108, allocations: 7.984 kB / 331.1 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.108, allocations: 7.984 kB / 331.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.108, allocations: 0 / 331.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1081, allocations: 59.97 kB / 331.1 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.1088, allocations: 447.5 kB / 331.6 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1092, allocations: 114.5 kB / 331.7 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1092, allocations: 28.86 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1092, allocations: 4 kB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1093, allocations: 34.56 kB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.1093, allocations: 224 / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00148/0.1108, allocations: 0.534 MB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1108, allocations: 51.41 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1109, allocations: 122 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1109, allocations: 29.7 kB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.111, allocations: 111.9 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1111, allocations: 47.3 kB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.1111, allocations: 33.64 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1113, allocations: 322.8 kB / 333 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.1113, allocations: 24 kB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.1114, allocations: 59.41 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1115, allocations: 95.38 kB / 333.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1116, allocations: 0 / 333.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001893/0.1117, allocations: 134.3 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1118, allocations: 11.28 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1118, allocations: 0 / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1118, allocations: 4 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.112, allocations: 27.98 kB / 333.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.112, allocations: 8 kB / 333.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.112, allocations: 11.94 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.112, allocations: 4 kB / 333.3 MB, free: 14.06 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 8.676e-05/0.1121, allocations: 121.8 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1122, allocations: 7.906 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.1122, allocations: 16.38 kB / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1122, allocations: 0 / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1122, allocations: 0 / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1123, allocations: 7.969 kB / 333.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.1128, allocations: 432 kB / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1128, allocations: 0 / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1129, allocations: 24 kB / 333.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1129, allocations: 7.922 kB / 333.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1129, allocations: 8 kB / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.113, allocations: 3.938 kB / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.113, allocations: 64 / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1132, allocations: 245.1 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.1133, allocations: 85.06 kB / 334.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1133, allocations: 11.92 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1134, allocations: 4 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1134, allocations: 8 kB / 334.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1134, allocations: 7.938 kB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.222e-05/0.1135, allocations: 95.27 kB / 334.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1135, allocations: 96 / 334.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1138, allocations: 27.94 kB / 334.4 MB, free: 12.86 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 9.901e-05/0.1139, allocations: 99.45 kB / 334.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1141, allocations: 91.78 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1141, allocations: 128 / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.1142, allocations: 43.94 kB / 334.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1145, allocations: 24.86 kB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.1153, allocations: 456.3 kB / 335.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1156, allocations: 0.704 MB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.1157, allocations: 12.88 kB / 335.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1157, allocations: 15.44 kB / 335.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1157, allocations: 0 / 335.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of Templates: time 0.003665/0.1194, allocations: 1.107 MB / 337 MB, free: 10.25 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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