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.002263/0.002263, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00108/0.00108, allocations: 94.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.83e-05/4.876e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09307, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5302, allocations: 77.88 MB / 447 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5305, allocations: 69.78 kB / 447 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05602/0.5866, allocations: 9.28 MB / 456.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5867, allocations: 0 / 456.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.651e-05/0.5867, allocations: 12 kB / 456.3 MB, free: 7.434 MB / 330.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.002924/0.5897, allocations: 0.7151 MB / 457 MB, free: 6.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5898, allocations: 8.031 kB / 457 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.5901, allocations: 55.34 kB / 457.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.5909, allocations: 318.5 kB / 457.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.5911, allocations: 40.06 kB / 457.4 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5913, allocations: 42.94 kB / 457.5 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.5929, allocations: 396.3 kB / 457.9 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.593, allocations: 7.984 kB / 457.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.5932, allocations: 23.44 kB / 457.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.5932, allocations: 12 kB / 457.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5949, allocations: 365.3 kB / 458.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.6003, allocations: 1.393 MB / 459.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.6021, allocations: 0.4974 MB / 460.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.6036, allocations: 331.2 kB / 460.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.6037, allocations: 12.55 kB / 460.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6038, allocations: 43.44 kB / 460.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 5.109e-06/0.6038, allocations: 0 / 460.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.01598/0.6198, allocations: 2.759 MB / 463.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.6199, allocations: 64.34 kB / 463.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.6205, allocations: 219.5 kB / 463.6 MB, free: 444 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.6207, allocations: 41.7 kB / 463.6 MB, free: 396 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.6209, allocations: 247.7 kB / 463.9 MB, free: 144 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/0.6215, allocations: 351 kB / 464.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.6216, allocations: 20 kB / 464.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6218, allocations: 342.8 kB / 464.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/0.6228, allocations: 222 kB / 464.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.6239, allocations: 301.5 kB / 465.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.6251, allocations: 256.9 kB / 465.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6251, allocations: 4 kB / 465.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002659/0.6278, allocations: 0.6612 MB / 466 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.6279, allocations: 8 kB / 466 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6279, allocations: 3.938 kB / 466 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/0.628, allocations: 11.84 kB / 466 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.6304, allocations: 219.7 kB / 466.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/0.6305, allocations: 4 kB / 466.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.6316, allocations: 59.97 kB / 466.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6318, allocations: 31.98 kB / 466.3 MB, free: 13.66 MB / 346.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 () * 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.0003565/0.6322, allocations: 148.8 kB / 466.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.6324, allocations: 55.34 kB / 466.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.6328, allocations: 77.39 kB / 466.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.6328, allocations: 15.89 kB / 466.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6328, allocations: 0 / 466.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.6329, allocations: 3.984 kB / 466.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/0.6399, allocations: 1.908 MB / 468.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.64, allocations: 4 kB / 468.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/0.6425, allocations: 216.3 kB / 468.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.952e-05/0.6426, allocations: 12 kB / 468.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.6429, allocations: 23.98 kB / 468.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.67e-05/0.6429, allocations: 11.94 kB / 468.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/0.6429, allocations: 11.95 kB / 468.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/0.6475, allocations: 1.453 MB / 470.2 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.6479, allocations: 128.5 kB / 470.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.6482, allocations: 27.94 kB / 470.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6494, allocations: 59.97 kB / 470.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.6498, allocations: 80.58 kB / 470.5 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6499, allocations: 28.12 kB / 470.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003846/0.6503, allocations: 179.1 kB / 470.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6503, allocations: 0 / 470.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001338/0.6517, allocations: 156 kB / 470.9 MB, free: 8.75 MB / 346.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 () * 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.0003836/0.6521, allocations: 134.8 kB / 471 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.6548, allocations: 0.6356 MB / 471.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.6548, allocations: 0 / 471.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6565, allocations: 400.1 kB / 472 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.6581, allocations: 106.1 kB / 472.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.6632, allocations: 1.286 MB / 473.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008853/0.6641, allocations: 0.8731 MB / 474.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.6648, allocations: 67.41 kB / 474.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6648, allocations: 7.938 kB / 474.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of Templates: time 0.02391/0.6887, allocations: 6.992 MB / 481.4 MB, free: 14.11 MB / 362.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