Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00148/0.00148, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.958/1.958, allocations: 205.4 MB / 222.5 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.001124/0.001124, allocations: 82.56 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 11.98 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4628, allocations: 77.96 MB / 452.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4632, allocations: 75.95 kB / 452.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04174/0.5049, allocations: 9.283 MB / 461.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.505, allocations: 0 / 461.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.505, allocations: 12 kB / 461.9 MB, free: 9.422 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.002055/0.5071, allocations: 0.7565 MB / 462.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5072, allocations: 12.03 kB / 462.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.5073, allocations: 55.34 kB / 462.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.5079, allocations: 306.2 kB / 463 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.5079, allocations: 33 kB / 463 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5081, allocations: 47.98 kB / 463.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5096, allocations: 470.3 kB / 463.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.5097, allocations: 7.906 kB / 463.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.5098, allocations: 20 kB / 463.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.5098, allocations: 8 kB / 463.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.5117, allocations: 491.7 kB / 464 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.5156, allocations: 1.402 MB / 465.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.5174, allocations: 0.5604 MB / 466 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.5175, allocations: 12.56 kB / 466 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.5175, allocations: 43.11 kB / 466.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.148e-06/0.5175, allocations: 0 / 466.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01392/0.5315, allocations: 3.283 MB / 469.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.5316, allocations: 60.41 kB / 469.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.5319, allocations: 218.2 kB / 469.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/0.532, allocations: 45.7 kB / 469.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.5322, allocations: 243.7 kB / 469.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.5326, allocations: 354.9 kB / 470.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.5327, allocations: 16 kB / 470.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5328, allocations: 342.8 kB / 470.6 MB, free: 416 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.5339, allocations: 285.8 kB / 470.9 MB, free: 128 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.535, allocations: 365.4 kB / 471.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.5362, allocations: 314.9 kB / 471.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5362, allocations: 0 / 471.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002537/0.5388, allocations: 0.79 MB / 472.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5388, allocations: 11.38 kB / 472.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5388, allocations: 0 / 472.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.5389, allocations: 8 kB / 472.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5404, allocations: 223.6 kB / 472.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.5405, allocations: 7.984 kB / 472.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.5412, allocations: 59.95 kB / 472.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.5413, allocations: 31.98 kB / 472.7 MB, free: 14.32 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.0003728/0.5417, allocations: 193.7 kB / 472.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5418, allocations: 55.28 kB / 472.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.542, allocations: 73.39 kB / 473 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5421, allocations: 12 kB / 473 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5421, allocations: 3.953 kB / 473 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5421, allocations: 3.984 kB / 473 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.5472, allocations: 2.017 MB / 475 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.5473, allocations: 8 kB / 475 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.5489, allocations: 212.3 kB / 475.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/0.5489, allocations: 11.98 kB / 475.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/0.549, allocations: 35.98 kB / 475.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.549, allocations: 11.94 kB / 475.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.549, allocations: 4 kB / 475.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.5531, allocations: 1.634 MB / 476.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.5533, allocations: 120.5 kB / 477 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5535, allocations: 32 kB / 477.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.5542, allocations: 67.91 kB / 477.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.5544, allocations: 68.81 kB / 477.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.5545, allocations: 35.98 kB / 477.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002503/0.5547, allocations: 182 kB / 477.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5547, allocations: 0 / 477.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.5555, allocations: 152 kB / 477.6 MB, free: 9.082 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.0002444/0.5558, allocations: 138.8 kB / 477.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.5583, allocations: 0.7504 MB / 478.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.5583, allocations: 3.938 kB / 478.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.5598, allocations: 462.4 kB / 478.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5608, allocations: 103.8 kB / 479 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.5654, allocations: 1.858 MB / 480.9 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.566, allocations: 0.8813 MB / 481.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.5665, allocations: 63.41 kB / 481.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5665, allocations: 0 / 481.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of Templates: time 0.01742/0.5839, allocations: 6.974 MB / 488.8 MB, free: 13.72 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches