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.00121/0.00121, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.464/1.464, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007868/0.0007867, allocations: 85.98 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09136/0.3282, allocations: 78.01 MB / 455 MB, free: 2.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3285, allocations: 71.97 kB / 455.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02566/0.3542, allocations: 9.296 MB / 464.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3542, allocations: 0 / 464.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.3543, allocations: 12 kB / 464.4 MB, free: 9.141 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.001485/0.3558, allocations: 0.7488 MB / 465.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3558, allocations: 12.03 kB / 465.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.356, allocations: 56.28 kB / 465.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3564, allocations: 315.3 kB / 465.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.3564, allocations: 33.38 kB / 465.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.3565, allocations: 56.28 kB / 465.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009291/0.3575, allocations: 462.9 kB / 466.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.3575, allocations: 12.17 kB / 466.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.3576, allocations: 23.94 kB / 466.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3576, allocations: 15.94 kB / 466.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3586, allocations: 487.7 kB / 466.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.3611, allocations: 1.398 MB / 468 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.362, allocations: 0.5529 MB / 468.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.3628, allocations: 391.1 kB / 468.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.3629, allocations: 12.55 kB / 468.9 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3629, allocations: 43.12 kB / 469 MB, free: 4.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.465e-06/0.3629, allocations: 0 / 469 MB, free: 4.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.007174/0.3701, allocations: 3.28 MB / 472.3 MB, free: 1.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3702, allocations: 72.28 kB / 472.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3704, allocations: 247 kB / 472.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3705, allocations: 45.69 kB / 472.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3706, allocations: 197.2 kB / 472.8 MB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.3709, allocations: 354.8 kB / 473.2 MB, free: 96 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3709, allocations: 16 kB / 473.2 MB, free: 80 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3711, allocations: 366.8 kB / 473.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.3717, allocations: 289.8 kB / 473.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.3724, allocations: 365.4 kB / 474.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3737, allocations: 0.6546 MB / 474.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3737, allocations: 0 / 474.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001515/0.3752, allocations: 0.8132 MB / 475.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3752, allocations: 8 kB / 475.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3753, allocations: 0 / 475.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3753, allocations: 4 kB / 475.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.3762, allocations: 227.6 kB / 475.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3762, allocations: 4 kB / 475.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3766, allocations: 59.95 kB / 475.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3766, allocations: 28 kB / 476 MB, free: 13.25 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.0002338/0.3769, allocations: 189.7 kB / 476.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.377, allocations: 51.44 kB / 476.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.3771, allocations: 81.33 kB / 476.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3772, allocations: 15.94 kB / 476.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3772, allocations: 0 / 476.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.3772, allocations: 7.984 kB / 476.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.3805, allocations: 2.018 MB / 478.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.3805, allocations: 8 kB / 478.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.3813, allocations: 219.7 kB / 478.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.3814, allocations: 8 kB / 478.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.3814, allocations: 23.98 kB / 478.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.3814, allocations: 15.88 kB / 478.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.3815, allocations: 8 kB / 478.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.3837, allocations: 1.419 MB / 480 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3839, allocations: 128.4 kB / 480.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.384, allocations: 32.06 kB / 480.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.3844, allocations: 59.89 kB / 480.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3845, allocations: 76.8 kB / 480.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.3846, allocations: 31.98 kB / 480.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.3848, allocations: 182 kB / 480.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3848, allocations: 3.938 kB / 480.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005321/0.3853, allocations: 152 kB / 480.7 MB, free: 8.332 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.0002215/0.3855, allocations: 142.7 kB / 480.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.387, allocations: 0.7583 MB / 481.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.3871, allocations: 4 kB / 481.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.3879, allocations: 462.6 kB / 482 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.3888, allocations: 116.8 kB / 482.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3915, allocations: 1.833 MB / 484 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.392, allocations: 0.8725 MB / 484.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.3924, allocations: 72.92 kB / 484.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3926, allocations: 63.42 kB / 485 MB, free: 3.898 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3926, allocations: 0 / 485 MB, free: 3.898 MB / 362.7 MB Notification: Performance of Templates: time 0.01169/0.4043, allocations: 5.815 MB / 490.8 MB, free: 14.11 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/jenkins1/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