Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.55 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09504, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003236/0.09831, allocations: 2.43 MB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.09876, allocations: 243.1 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.09888, allocations: 11.94 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.09904, allocations: 39.58 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.09919, allocations: 87.2 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.09938, allocations: 59.91 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.09971, allocations: 286.6 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.09995, allocations: 105.7 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1001, allocations: 107.6 kB / 362.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1002, allocations: 115.5 kB / 362.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.1003, allocations: 24 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.1003, allocations: 24 kB / 362.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1004, allocations: 55.77 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1005, allocations: 127.4 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1008, allocations: 298.8 kB / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1008, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1008, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1008, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007388/0.1016, allocations: 0.5343 MB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1016, allocations: 8.031 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.1017, allocations: 32.56 kB / 363.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.102, allocations: 246.2 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.102, allocations: 20.94 kB / 363.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.1021, allocations: 32.27 kB / 363.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.1024, allocations: 236 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1025, allocations: 8.172 kB / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1025, allocations: 11.94 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1025, allocations: 8 kB / 364 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1028, allocations: 155.8 kB / 364.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.1038, allocations: 0.7967 MB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.1043, allocations: 295.7 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.1045, allocations: 138.7 kB / 365.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1046, allocations: 11.94 kB / 365.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1046, allocations: 34.56 kB / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1046, allocations: 0 / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002517/0.1071, allocations: 1.946 MB / 367.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1072, allocations: 110.8 kB / 367.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1074, allocations: 195.2 kB / 367.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1074, allocations: 29.7 kB / 367.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1075, allocations: 132.8 kB / 367.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.1076, allocations: 169.6 kB / 368 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.1077, allocations: 70.14 kB / 368.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1078, allocations: 342.8 kB / 368.4 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.108, allocations: 88.84 kB / 368.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1082, allocations: 154.3 kB / 368.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.1086, allocations: 280.3 kB / 368.9 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1086, allocations: 4 kB / 368.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004648/0.109, allocations: 340 kB / 369.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1091, allocations: 7.938 kB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1091, allocations: 8.094 kB / 369.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1091, allocations: 3.984 kB / 369.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.1094, allocations: 95.84 kB / 369.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1094, allocations: 4 kB / 369.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1095, allocations: 8.938 kB / 369.4 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1096, allocations: 12 kB / 369.4 MB, free: 2.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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 0.0001298/0.1097, allocations: 149.8 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.1098, allocations: 31.64 kB / 369.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1099, allocations: 37.88 kB / 369.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1099, allocations: 8 kB / 369.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1099, allocations: 0 / 369.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1099, allocations: 8.016 kB / 369.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1112, allocations: 1.065 MB / 370.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1112, allocations: 4 kB / 370.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.1116, allocations: 87.89 kB / 370.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.1116, allocations: 7.938 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1116, allocations: 12.28 kB / 370.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.1116, allocations: 11.94 kB / 370.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1116, allocations: 4 kB / 370.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1504/0.262, allocations: 0.7156 MB / 371.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.2622, allocations: 103.3 kB / 371.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.2623, allocations: 11.94 kB / 371.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.2625, allocations: 7.75 kB / 371.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.2626, allocations: 40.59 kB / 371.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.2627, allocations: 12.48 kB / 371.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.2628, allocations: 139.4 kB / 371.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2628, allocations: 0 / 371.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.2634, allocations: 72.28 kB / 371.9 MB, free: 19.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0001162/0.2635, allocations: 116.5 kB / 372 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.264, allocations: 273.2 kB / 372.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.264, allocations: 1.312 kB / 372.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2642, allocations: 145.4 kB / 372.4 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.2649, allocations: 63.28 kB / 372.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2661, allocations: 0.9118 MB / 373.4 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2663, allocations: 0.7682 MB / 374.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2665, allocations: 35.52 kB / 374.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.2665, allocations: 26.84 kB / 374.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2665, allocations: 4.781 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of Templates: time 0.00657/0.2731, allocations: 2.977 MB / 377.2 MB, free: 18.02 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches