Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008538/0.0008538, allocations: 93.08 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002245/0.0002245, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2439, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3448, allocations: 77.97 MB / 453.8 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.3452, allocations: 67.97 kB / 453.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02584/0.371, allocations: 9.296 MB / 463.1 MB, free: 9.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3711, allocations: 3.938 kB / 463.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.3711, allocations: 8 kB / 463.1 MB, free: 9.312 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001482/0.3726, allocations: 0.7525 MB / 463.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.395e-05/0.3727, allocations: 8.031 kB / 463.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3728, allocations: 63.34 kB / 464 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.3733, allocations: 306.2 kB / 464.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.3734, allocations: 37 kB / 464.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3735, allocations: 44 kB / 464.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3745, allocations: 466.3 kB / 464.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3746, allocations: 3.906 kB / 464.8 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.3746, allocations: 20 kB / 464.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3746, allocations: 12 kB / 464.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3757, allocations: 495.7 kB / 465.3 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.3783, allocations: 1.386 MB / 466.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3794, allocations: 0.5684 MB / 467.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3794, allocations: 12.55 kB / 467.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3795, allocations: 39.12 kB / 467.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.326e-06/0.3795, allocations: 0 / 467.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.007945/0.3874, allocations: 3.293 MB / 470.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.3875, allocations: 64.41 kB / 470.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3878, allocations: 218.2 kB / 470.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.3879, allocations: 41.7 kB / 470.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.388, allocations: 193.2 kB / 471.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.3883, allocations: 350.9 kB / 471.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3883, allocations: 20 kB / 471.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3885, allocations: 358.8 kB / 471.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.3891, allocations: 289.8 kB / 472.1 MB, free: 48 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.3898, allocations: 357.4 kB / 472.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.3904, allocations: 318.9 kB / 472.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3904, allocations: 0 / 472.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001449/0.3919, allocations: 0.8132 MB / 473.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3919, allocations: 4 kB / 473.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3919, allocations: 4 kB / 473.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3919, allocations: 4 kB / 473.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.3928, allocations: 219.6 kB / 473.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3928, allocations: 4 kB / 473.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.3931, allocations: 63.97 kB / 473.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.3932, allocations: 23.98 kB / 473.9 MB, free: 14.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002867/0.3935, allocations: 201.6 kB / 474.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.3936, allocations: 59.34 kB / 474.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3938, allocations: 73.39 kB / 474.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3938, allocations: 11.94 kB / 474.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.3938, allocations: 3.953 kB / 474.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3938, allocations: 3.984 kB / 474.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.3969, allocations: 2.021 MB / 476.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3969, allocations: 8 kB / 476.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.3977, allocations: 212.2 kB / 476.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.3977, allocations: 12 kB / 476.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.3978, allocations: 24 kB / 476.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/0.3978, allocations: 15.92 kB / 476.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3978, allocations: 4 kB / 476.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.4002, allocations: 1.634 MB / 478.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.4004, allocations: 136.4 kB / 478.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.4005, allocations: 23.98 kB / 478.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4009, allocations: 63.92 kB / 478.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.401, allocations: 76.8 kB / 478.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.401, allocations: 31.98 kB / 478.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.4012, allocations: 174 kB / 478.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4012, allocations: 0 / 478.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.4018, allocations: 156 kB / 478.8 MB, free: 8.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001957/0.402, allocations: 142.8 kB / 479 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.4033, allocations: 0.7543 MB / 479.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4034, allocations: 4 kB / 479.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.4041, allocations: 462.6 kB / 480.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.4048, allocations: 96.77 kB / 480.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4078, allocations: 1.825 MB / 482.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.4083, allocations: 0.8813 MB / 483 MB, free: 4.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00034/0.4086, allocations: 76.92 kB / 483 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.4088, allocations: 59.42 kB / 483.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4088, allocations: 0 / 483.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of Templates: time 0.01112/0.42, allocations: 5.745 MB / 488.8 MB, free: 14.85 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches