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.001296/0.001296, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.642/1.642, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007718/0.0007719, allocations: 92.95 kB / 270.9 MB, free: 8.355 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.4225/0.4225, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005406, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1351, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.302/0.4371, allocations: 91.68 MB / 0.5683 GB, free: 1.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06213/0.4993, allocations: 18.31 MB / 0.5862 GB, free: 4.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02915/0.5285, allocations: 443.9 kB / 0.5866 GB, free: 4.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02084/0.5493, allocations: 4.893 MB / 0.5914 GB, free: 2.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04786/0.5972, allocations: 14.36 MB / 0.6054 GB, free: 4.652 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007854/0.6051, allocations: 1.265 MB / 0.6066 GB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01602/0.6212, allocations: 9.484 MB / 0.6159 GB, free: 9.895 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01622/0.6374, allocations: 9.198 MB / 0.6249 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/0.6435, allocations: 2.604 MB / 0.6274 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007084/0.6507, allocations: 3.864 MB / 0.6312 GB, free: 10.15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00223/0.6529, allocations: 280 kB / 0.6314 GB, free: 9.879 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.6572, allocations: 0.9831 MB / 0.6324 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00645/0.6637, allocations: 3.374 MB / 0.6357 GB, free: 5.512 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003748/0.6675, allocations: 1.532 MB / 0.6372 GB, free: 3.969 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.681, allocations: 10.01 MB / 0.647 GB, free: 9.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.681, allocations: 0 / 0.647 GB, free: 9.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.519e-06/0.681, allocations: 3.984 kB / 0.647 GB, free: 9.926 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006417/0.6817, allocations: 0 / 0.647 GB, free: 9.926 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01908/0.7008, allocations: 7.685 MB / 0.6545 GB, free: 2.156 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7008, allocations: 16.02 kB / 0.6545 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.7129, allocations: 2.726 MB / 0.6572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.7236, allocations: 4.861 MB / 0.6619 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/0.7242, allocations: 459.6 kB / 0.6623 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.7265, allocations: 0.5934 MB / 0.6629 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3877/1.114, allocations: 18.73 MB / 0.6812 GB, free: 132.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/1.115, allocations: 75.94 kB / 0.6813 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008419/1.115, allocations: 287.1 kB / 0.6816 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004746/1.12, allocations: 3.445 MB / 0.6849 GB, free: 131.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/1.148, allocations: 14.57 MB / 0.6991 GB, free: 127.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09159/1.24, allocations: 70.41 MB / 0.7679 GB, free: 74.94 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.255, allocations: 6.126 MB / 0.7739 GB, free: 68.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/1.259, allocations: 2.447 MB / 0.7763 GB, free: 66.21 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/1.278, allocations: 10.84 MB / 0.7869 GB, free: 54.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.278, allocations: 64.5 kB / 0.7869 GB, free: 54.91 MB / 490.8 MB Notification: Performance of pre-optimization done (n=238): time 5.951e-06/1.278, allocations: 0 / 0.7869 GB, free: 54.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=262): time 0.0412/1.32, allocations: 15.89 MB / 0.8024 GB, free: 39.06 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/1.32, allocations: 158.5 kB / 0.8026 GB, free: 38.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007734/1.327, allocations: 6.609 MB / 0.809 GB, free: 32.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005118/1.328, allocations: 61.7 kB / 0.8091 GB, free: 32.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002737/1.331, allocations: 5.541 MB / 0.8145 GB, free: 26.67 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.332, allocations: 1.01 MB / 0.8155 GB, free: 25.67 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/1.332, allocations: 179.2 kB / 0.8157 GB, free: 25.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003858/1.333, allocations: 0.7027 MB / 0.8164 GB, free: 24.79 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.336, allocations: 2.622 MB / 0.8189 GB, free: 22.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00574/1.342, allocations: 8.334 MB / 0.8271 GB, free: 10.98 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005737/1.348, allocations: 4.502 MB / 0.8315 GB, free: 6.484 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.484e-05/1.348, allocations: 64 kB / 0.8315 GB, free: 6.422 MB / 490.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01805/1.366, allocations: 10.65 MB / 0.8419 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.366, allocations: 92 kB / 0.842 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002689/1.366, allocations: 200 kB / 0.8422 GB, free: 11.49 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/1.367, allocations: 296.8 kB / 0.8425 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007681/1.374, allocations: 2.144 MB / 0.8446 GB, free: 9.051 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004038/1.375, allocations: 394.5 kB / 0.8449 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007739/1.383, allocations: 461.4 kB / 0.8454 GB, free: 8.219 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.385, allocations: 0.5585 MB / 0.8459 GB, free: 7.66 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.007601/1.392, allocations: 3.621 MB / 0.8495 GB, free: 4.027 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.394, allocations: 0.5707 MB / 0.85 GB, free: 3.449 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/1.4, allocations: 2.79 MB / 0.8527 GB, free: 0.6406 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.4, allocations: 28 kB / 0.8528 GB, free: 0.6133 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.4, allocations: 0 / 0.8528 GB, free: 0.6133 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.4, allocations: 11.95 kB / 0.8528 GB, free: 0.6016 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2653/1.665, allocations: 26.53 MB / 0.8787 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-05/1.666, allocations: 60.58 kB / 0.8788 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.668, allocations: 0.5165 MB / 0.8793 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-05/1.668, allocations: 76.78 kB / 0.8793 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.668, allocations: 120.2 kB / 0.8794 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.067e-05/1.668, allocations: 107.1 kB / 0.8795 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-05/1.668, allocations: 81.73 kB / 0.8796 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/1.673, allocations: 5.225 MB / 0.8847 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.674, allocations: 0.6785 MB / 0.8854 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/1.675, allocations: 126.5 kB / 0.8855 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.677, allocations: 147.2 kB / 0.8856 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.678, allocations: 352.7 kB / 0.886 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.678, allocations: 148.2 kB / 0.8861 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006198/1.684, allocations: 4.114 MB / 0.8901 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.684, allocations: 0 / 0.8901 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007881/1.692, allocations: 1.503 MB / 0.8916 GB, free: 138.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0006909/1.693, allocations: 307.6 kB / 0.8919 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008953/1.702, allocations: 6.099 MB / 0.8979 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.365e-05/1.702, allocations: 8.938 kB / 0.8979 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.704, allocations: 1.494 MB / 0.8993 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/1.709, allocations: 0.8958 MB / 0.9002 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/1.742, allocations: 20.97 MB / 0.9207 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00684/1.749, allocations: 5.564 MB / 0.9261 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.75, allocations: 471.1 kB / 0.9266 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/1.75, allocations: 0 / 0.9266 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1202/1.87, allocations: 93.13 MB / 1.018 GB, free: 39.29 MB / 0.5105 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/jenkins/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