Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009627, allocations: 94.3 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 39.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2449, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00333/0.2483, allocations: 3.561 MB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2494, allocations: 0.8646 MB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.2496, allocations: 8 kB / 403.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.2497, allocations: 63.47 kB / 404 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2499, allocations: 127 kB / 404.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.2503, allocations: 143.8 kB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.2506, allocations: 0.5607 MB / 404.8 MB, free: 28.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.2509, allocations: 166.3 kB / 405 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.2511, allocations: 219.2 kB / 405.2 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2513, allocations: 258.9 kB / 405.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.2514, allocations: 36 kB / 405.5 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.2514, allocations: 32 kB / 405.5 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.2515, allocations: 107.5 kB / 405.6 MB, free: 27.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2517, allocations: 250.7 kB / 405.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.252, allocations: 0.5736 MB / 406.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.252, allocations: 0 / 406.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.252, allocations: 3.938 kB / 406.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.252, allocations: 4 kB / 406.4 MB, free: 26.39 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001318/0.2534, allocations: 0.8381 MB / 407.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2534, allocations: 8.031 kB / 407.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.2535, allocations: 56.28 kB / 407.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.2538, allocations: 331.2 kB / 407.6 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2538, allocations: 37.38 kB / 407.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.2539, allocations: 44.38 kB / 407.7 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.2547, allocations: 458.6 kB / 408.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2547, allocations: 3.906 kB / 408.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.2547, allocations: 20 kB / 408.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2548, allocations: 12 kB / 408.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.2556, allocations: 455.7 kB / 408.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2574, allocations: 1.394 MB / 410 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.2582, allocations: 0.5364 MB / 410.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.2589, allocations: 371.8 kB / 410.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.2589, allocations: 8.562 kB / 411 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2589, allocations: 43.11 kB / 411 MB, free: 21.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.246e-06/0.2589, allocations: 0 / 411 MB, free: 21.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006286/0.2652, allocations: 3.135 MB / 414.1 MB, free: 18.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2653, allocations: 68.41 kB / 414.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2655, allocations: 251 kB / 414.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2656, allocations: 41.7 kB / 414.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.2657, allocations: 197.2 kB / 414.7 MB, free: 17.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2658, allocations: 342.9 kB / 415 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.266, allocations: 154.6 kB / 415.2 MB, free: 17.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.2661, allocations: 358.8 kB / 415.5 MB, free: 16.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.2666, allocations: 277.8 kB / 415.8 MB, free: 16.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.2671, allocations: 345.4 kB / 416.1 MB, free: 16.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.268, allocations: 0.6195 MB / 416.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.268, allocations: 0 / 416.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001294/0.2693, allocations: 0.7858 MB / 417.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2694, allocations: 8 kB / 417.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2694, allocations: 0 / 417.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2694, allocations: 7.938 kB / 417.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.2701, allocations: 211.8 kB / 417.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2701, allocations: 4 kB / 417.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2705, allocations: 51.89 kB / 417.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.2705, allocations: 31.98 kB / 417.8 MB, free: 14.64 MB / 298.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 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2707, allocations: 193.6 kB / 418 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.2708, allocations: 51.44 kB / 418.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.271, allocations: 81.33 kB / 418.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.271, allocations: 8 kB / 418.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.271, allocations: 3.938 kB / 418.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.271, allocations: 3.984 kB / 418.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.2734, allocations: 2.006 MB / 420.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2734, allocations: 4 kB / 420.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.2742, allocations: 203.7 kB / 420.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.2742, allocations: 8 kB / 420.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.2742, allocations: 31.92 kB / 420.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.2742, allocations: 8 kB / 420.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2742, allocations: 15.92 kB / 420.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007523/0.2818, allocations: 5.091 MB / 425.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.2819, allocations: 124.5 kB / 425.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.282, allocations: 24.06 kB / 425.7 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.2823, allocations: 43.97 kB / 425.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2824, allocations: 76.78 kB / 425.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.2825, allocations: 35.98 kB / 425.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.2826, allocations: 174 kB / 426 MB, free: 6.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2826, allocations: 0 / 426 MB, free: 6.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006057/0.2832, allocations: 208 kB / 426.2 MB, free: 5.93 MB / 298.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 (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.0001436/0.2834, allocations: 135.8 kB / 426.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2845, allocations: 0.7231 MB / 427.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2845, allocations: 4.062 kB / 427.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.2852, allocations: 446.5 kB / 427.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.2859, allocations: 123.8 kB / 427.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2883, allocations: 2.303 MB / 429.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2885, allocations: 0.892 MB / 430.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.2889, allocations: 84.97 kB / 430.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2891, allocations: 71.41 kB / 431 MB, free: 1.027 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2891, allocations: 0 / 431 MB, free: 1.027 MB / 298.7 MB Notification: Performance of Templates: time 0.0123/0.3014, allocations: 7.781 MB / 438.7 MB, free: 9.301 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches