Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 181.4 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.113/2.113, 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.001073/0.001073, allocations: 89.98 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2741/0.2741, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.657e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6027, allocations: 104.9 MB / 0.5752 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.6031, allocations: 76.52 kB / 0.5753 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/1.63, allocations: 159.2 MB / 0.7308 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.404e-06/1.63, allocations: 0 / 0.7308 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000441/1.63, allocations: 158.2 kB / 0.7309 GB, free: 92.82 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02939/1.66, allocations: 7.742 MB / 0.7385 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.66, allocations: 11.09 kB / 0.7385 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03061/1.69, allocations: 3.63 MB / 0.7421 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0313/1.722, allocations: 9.565 MB / 0.7514 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008585/1.723, allocations: 0.5954 MB / 0.752 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004407/1.727, allocations: 0.7946 MB / 0.7528 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05654/1.784, allocations: 18.7 MB / 0.771 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005757/1.784, allocations: 89.44 kB / 0.7711 GB, free: 84.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004311/1.788, allocations: 384.8 kB / 0.7715 GB, free: 84.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004677/1.793, allocations: 1.782 MB / 0.7732 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/1.839, allocations: 14.5 MB / 0.7874 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/1.969, allocations: 79.11 MB / 0.8646 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/1.997, allocations: 6.038 MB / 0.8705 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/2.002, allocations: 2.391 MB / 0.8729 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03015/2.033, allocations: 11.01 MB / 0.8836 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/2.033, allocations: 60.56 kB / 0.8837 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 6.072e-06/2.033, allocations: 0 / 0.8837 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.07281/2.106, allocations: 14.77 MB / 0.8981 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/2.106, allocations: 158.5 kB / 0.8982 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3827/2.488, allocations: 5.746 MB / 0.9038 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005569/2.489, allocations: 64.86 kB / 0.9039 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005299/2.494, allocations: 5.363 MB / 0.9091 GB, free: 99.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/2.496, allocations: 1.016 MB / 0.9101 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/2.497, allocations: 178.5 kB / 0.9103 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008241/2.498, allocations: 0.6806 MB / 0.911 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007506/2.506, allocations: 2.375 MB / 0.9133 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/2.517, allocations: 7.982 MB / 0.9211 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/2.528, allocations: 4.308 MB / 0.9253 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003237/2.529, allocations: 54.88 kB / 0.9253 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02673/2.555, allocations: 9.828 MB / 0.9349 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/2.556, allocations: 95.03 kB / 0.935 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/2.556, allocations: 199.1 kB / 0.9352 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/2.556, allocations: 293.4 kB / 0.9355 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/2.57, allocations: 2.182 MB / 0.9376 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003693/2.571, allocations: 394.5 kB / 0.938 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.583, allocations: 0.6109 MB / 0.9386 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/2.585, allocations: 0.5378 MB / 0.9391 GB, free: 90.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1128 * 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.001808/2.586, allocations: 0.8106 MB / 0.9399 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/2.588, allocations: 0.573 MB / 0.9405 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/2.595, allocations: 2.745 MB / 0.9432 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/2.595, allocations: 25.69 kB / 0.9432 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/2.595, allocations: 0 / 0.9432 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/2.595, allocations: 16.36 kB / 0.9432 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05718/2.652, allocations: 26.42 MB / 0.969 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-05/2.652, allocations: 55.06 kB / 0.9691 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/2.656, allocations: 0.5161 MB / 0.9696 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-05/2.656, allocations: 76.25 kB / 0.9696 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/2.656, allocations: 118.5 kB / 0.9697 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-05/2.656, allocations: 104.1 kB / 0.9698 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.236e-05/2.656, allocations: 85.75 kB / 0.9699 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/2.666, allocations: 14.58 MB / 0.9842 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/2.668, allocations: 0.686 MB / 0.9848 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/2.67, allocations: 124.9 kB / 0.985 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/2.675, allocations: 199 kB / 0.9851 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006975/2.676, allocations: 349.4 kB / 0.9855 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/2.676, allocations: 150.4 kB / 0.9856 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009772/2.686, allocations: 4.031 MB / 0.9896 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/2.686, allocations: 0 / 0.9896 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01101/2.697, allocations: 1.488 MB / 0.991 GB, free: 66.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.001058/2.698, allocations: 290.8 kB / 0.9913 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01315/2.711, allocations: 5.756 MB / 0.9969 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.378e-05/2.711, allocations: 7.812 kB / 0.9969 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003265/2.714, allocations: 1.453 MB / 0.9983 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007397/2.722, allocations: 0.8676 MB / 0.9992 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/2.763, allocations: 14.87 MB / 1.014 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/2.778, allocations: 5.746 MB / 1.019 GB, free: 49.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/2.78, allocations: 465 kB / 1.02 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/2.78, allocations: 8 kB / 1.02 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.5714/3.352, allocations: 92.14 MB / 1.11 GB, free: 79.07 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches