Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.395/2.395, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001582/0.001583, allocations: 85.94 kB / 271.9 MB, free: 8.254 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.5809/0.5809, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005827/0.0005828, allocations: 16 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1593, allocations: 58.85 MB / 491.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6421, allocations: 105.4 MB / 0.5828 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/0.6425, allocations: 87.94 kB / 0.5829 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2313/0.8739, allocations: 65.75 MB / 0.6471 GB, free: 10.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.874, allocations: 0 / 0.6471 GB, free: 10.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002578/0.8742, allocations: 68 kB / 0.6472 GB, free: 10.71 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01485/0.8891, allocations: 3.158 MB / 0.6503 GB, free: 7.488 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.8892, allocations: 8.031 kB / 0.6503 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.9023, allocations: 1.938 MB / 0.6522 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007387/0.9097, allocations: 2.079 MB / 0.6542 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000528/0.9103, allocations: 283.8 kB / 0.6545 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.9127, allocations: 364.3 kB / 0.6548 GB, free: 2.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02657/0.9393, allocations: 8.127 MB / 0.6627 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.9396, allocations: 23.75 kB / 0.6628 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/0.9411, allocations: 163.9 kB / 0.6629 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/0.9428, allocations: 0.8105 MB / 0.6637 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.9642, allocations: 6.966 MB / 0.6705 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3627/1.327, allocations: 27.58 MB / 0.6974 GB, free: 87.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007585/1.335, allocations: 2.557 MB / 0.6999 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/1.337, allocations: 0.9718 MB / 0.7009 GB, free: 86.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/1.349, allocations: 4.451 MB / 0.7052 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/1.349, allocations: 41.38 kB / 0.7053 GB, free: 85.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 9.488e-06/1.349, allocations: 3.188 kB / 0.7053 GB, free: 85.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.01084/1.36, allocations: 2.725 MB / 0.7079 GB, free: 85.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.36, allocations: 61.69 kB / 0.708 GB, free: 85.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006193/1.366, allocations: 2.236 MB / 0.7102 GB, free: 85.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/1.366, allocations: 47 kB / 0.7102 GB, free: 84.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/1.369, allocations: 2.318 MB / 0.7125 GB, free: 83.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008745/1.37, allocations: 460 kB / 0.7129 GB, free: 83.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/1.37, allocations: 72.25 kB / 0.713 GB, free: 83.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004157/1.37, allocations: 458.1 kB / 0.7134 GB, free: 83.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/1.373, allocations: 1.078 MB / 0.7145 GB, free: 83.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/1.377, allocations: 3.228 MB / 0.7176 GB, free: 80.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007976/1.385, allocations: 4.713 MB / 0.7222 GB, free: 76.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002983/1.386, allocations: 23.53 kB / 0.7223 GB, free: 76.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01373/1.4, allocations: 4.215 MB / 0.7264 GB, free: 75.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/1.4, allocations: 41.02 kB / 0.7264 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/1.4, allocations: 78.28 kB / 0.7265 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/1.4, allocations: 105.4 kB / 0.7266 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/1.405, allocations: 0.816 MB / 0.7274 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002866/1.406, allocations: 148.1 kB / 0.7275 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/1.41, allocations: 494.1 kB / 0.728 GB, free: 74.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.412, allocations: 218.6 kB / 0.7282 GB, free: 74.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (447): * Single equations (assignments): 444 * 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.006257/1.418, allocations: 1.706 MB / 0.7299 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/1.419, allocations: 197 kB / 0.7301 GB, free: 73.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/1.423, allocations: 1.516 MB / 0.7315 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/1.423, allocations: 12.91 kB / 0.7316 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.423, allocations: 0.7969 kB / 0.7316 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.423, allocations: 9.312 kB / 0.7316 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/1.448, allocations: 7.383 MB / 0.7388 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.001e-05/1.449, allocations: 15.75 kB / 0.7388 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.45, allocations: 194.5 kB / 0.739 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.151e-05/1.45, allocations: 19.53 kB / 0.739 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/1.45, allocations: 39.05 kB / 0.739 GB, free: 70.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.682e-05/1.45, allocations: 30.89 kB / 0.7391 GB, free: 70.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/1.45, allocations: 19.28 kB / 0.7391 GB, free: 70.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/1.454, allocations: 1.997 MB / 0.741 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.456, allocations: 332.4 kB / 0.7414 GB, free: 68.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007574/1.456, allocations: 41.66 kB / 0.7414 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.458, allocations: 50.48 kB / 0.7414 GB, free: 68.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/1.458, allocations: 107.9 kB / 0.7415 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.459, allocations: 59.25 kB / 0.7416 GB, free: 68.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004332/1.463, allocations: 1.554 MB / 0.7431 GB, free: 68.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.463, allocations: 4.141 kB / 0.7431 GB, free: 68.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006749/1.47, allocations: 0.9271 MB / 0.744 GB, free: 67.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0008888/1.471, allocations: 181.6 kB / 0.7442 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007158/1.478, allocations: 2.559 MB / 0.7467 GB, free: 66.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/1.478, allocations: 0 / 0.7467 GB, free: 66.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/1.48, allocations: 0.6949 MB / 0.7474 GB, free: 66.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009477/1.489, allocations: 310.5 kB / 0.7477 GB, free: 66.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/1.513, allocations: 8.823 MB / 0.7563 GB, free: 61.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006141/1.519, allocations: 2.836 MB / 0.7591 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.52, allocations: 189 kB / 0.7592 GB, free: 60.35 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.52, allocations: 7.906 kB / 0.7592 GB, free: 60.34 MB / 490.7 MB Notification: Performance of Templates: time 0.08145/1.602, allocations: 38.96 MB / 0.7973 GB, free: 44.51 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches