Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 186.2 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.861/1.861, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001142/0.001141, allocations: 96.34 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4929/0.4929, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007337/0.0007337, allocations: 8 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1342, allocations: 58.86 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5981, allocations: 102 MB / 0.5784 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.5985, allocations: 75.97 kB / 0.5784 GB, free: 488 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2298/0.8283, allocations: 55.25 MB / 0.6324 GB, free: 8.891 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.8284, allocations: 0 / 0.6324 GB, free: 8.891 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.8285, allocations: 52 kB / 0.6324 GB, free: 8.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.01055/0.8391, allocations: 2.741 MB / 0.6351 GB, free: 6.039 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.8391, allocations: 8.031 kB / 0.6351 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.8536, allocations: 1.825 MB / 0.6369 GB, free: 4.203 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/0.8599, allocations: 1.723 MB / 0.6386 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.8603, allocations: 217.7 kB / 0.6388 GB, free: 2.219 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.862, allocations: 283.9 kB / 0.6391 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.8831, allocations: 6.646 MB / 0.6456 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.8833, allocations: 11.88 kB / 0.6456 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007583/0.8841, allocations: 135.9 kB / 0.6457 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.8857, allocations: 0.6805 MB / 0.6464 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.9043, allocations: 5.814 MB / 0.652 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3771/1.281, allocations: 23.13 MB / 0.6746 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007919/1.289, allocations: 2.248 MB / 0.6768 GB, free: 96.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/1.3, allocations: 3.765 MB / 0.6805 GB, free: 95.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.3, allocations: 40.19 kB / 0.6805 GB, free: 95.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.729e-06/1.3, allocations: 0 / 0.6805 GB, free: 95.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.009852/1.31, allocations: 2.451 MB / 0.6829 GB, free: 94.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.31, allocations: 65.64 kB / 0.683 GB, free: 94.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/1.315, allocations: 1.792 MB / 0.6847 GB, free: 94.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.315, allocations: 35.36 kB / 0.6848 GB, free: 94.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.316, allocations: 1.973 MB / 0.6867 GB, free: 93.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/1.317, allocations: 362 kB / 0.687 GB, free: 93.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/1.317, allocations: 62.36 kB / 0.6871 GB, free: 93.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/1.318, allocations: 449.3 kB / 0.6875 GB, free: 93.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.32, allocations: 0.9289 MB / 0.6884 GB, free: 93.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/1.324, allocations: 2.852 MB / 0.6912 GB, free: 90.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/1.327, allocations: 1.631 MB / 0.6928 GB, free: 90.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.639e-05/1.328, allocations: 19.38 kB / 0.6928 GB, free: 90.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009482/1.337, allocations: 3.639 MB / 0.6964 GB, free: 90.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/1.337, allocations: 35.91 kB / 0.6964 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.957e-05/1.337, allocations: 67.78 kB / 0.6965 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/1.337, allocations: 101.3 kB / 0.6966 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/1.342, allocations: 0.7065 MB / 0.6973 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000139/1.342, allocations: 140.8 kB / 0.6974 GB, free: 90.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/1.345, allocations: 434.8 kB / 0.6978 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/1.346, allocations: 194.9 kB / 0.698 GB, free: 90.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 385 * Array equations: 3 * 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.003327/1.349, allocations: 1.423 MB / 0.6994 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.35, allocations: 169.4 kB / 0.6996 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.352, allocations: 1.193 MB / 0.7007 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/1.353, allocations: 12.91 kB / 0.7007 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.353, allocations: 0 / 0.7007 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.353, allocations: 4.125 kB / 0.7007 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.365, allocations: 4.988 MB / 0.7056 GB, free: 88.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.366, allocations: 8.781 kB / 0.7056 GB, free: 88.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009987/1.367, allocations: 129.2 kB / 0.7057 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/1.367, allocations: 18.53 kB / 0.7058 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/1.367, allocations: 35.11 kB / 0.7058 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.79e-05/1.367, allocations: 12.81 kB / 0.7058 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.367, allocations: 15.91 kB / 0.7058 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/1.37, allocations: 2.2 MB / 0.708 GB, free: 87.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/1.37, allocations: 274 kB / 0.7082 GB, free: 87.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.371, allocations: 25.75 kB / 0.7083 GB, free: 87.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.372, allocations: 37.95 kB / 0.7083 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.372, allocations: 77.78 kB / 0.7084 GB, free: 87.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/1.372, allocations: 37.95 kB / 0.7084 GB, free: 87.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002815/1.375, allocations: 1.314 MB / 0.7097 GB, free: 86.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.375, allocations: 0.5625 kB / 0.7097 GB, free: 86.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004049/1.379, allocations: 0.7546 MB / 0.7104 GB, free: 86.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 3 * 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.0005104/1.379, allocations: 155.7 kB / 0.7106 GB, free: 86.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005455/1.385, allocations: 2.164 MB / 0.7127 GB, free: 86.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.385, allocations: 1.781 kB / 0.7127 GB, free: 86.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.386, allocations: 0.5347 MB / 0.7132 GB, free: 86.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.388, allocations: 241 kB / 0.7134 GB, free: 85.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.404, allocations: 7.051 MB / 0.7203 GB, free: 82.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004649/1.409, allocations: 2.467 MB / 0.7227 GB, free: 80.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/1.41, allocations: 158.2 kB / 0.7229 GB, free: 80.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.41, allocations: 0 / 0.7229 GB, free: 80.96 MB / 490.7 MB Notification: Performance of Templates: time 0.06304/1.473, allocations: 31.67 MB / 0.7538 GB, free: 78.21 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches