Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 115.6 kB / 17.08 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 194.4 kB / 18.01 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1196, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01353/0.1332, allocations: 12.61 MB / 0.5008 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.141, allocations: 3.368 MB / 0.5041 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.144, allocations: 63.94 kB / 0.5042 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.1494, allocations: 2.64 MB / 0.5068 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.1533, allocations: 1.362 MB / 0.5081 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1544, allocations: 347.3 kB / 0.5084 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004261/0.1587, allocations: 2.878 MB / 0.5112 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004243/0.163, allocations: 3.16 MB / 0.5143 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.1651, allocations: 1.195 MB / 0.5155 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.1678, allocations: 1.632 MB / 0.5171 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000927/0.1688, allocations: 296 kB / 0.5174 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.1708, allocations: 0.7764 MB / 0.5181 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.1728, allocations: 1.57 MB / 0.5197 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003102/0.1759, allocations: 1.841 MB / 0.5215 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.1837, allocations: 5.987 MB / 0.5273 GB, free: 3.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1838, allocations: 4 kB / 0.5273 GB, free: 3.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1838, allocations: 0 / 0.5273 GB, free: 3.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002152/0.184, allocations: 0 / 0.5273 GB, free: 3.918 MB / 414.1 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.009506/0.1935, allocations: 3.748 MB / 0.531 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1936, allocations: 15.89 kB / 0.531 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2585/0.4522, allocations: 1.713 MB / 0.5327 GB, free: 38.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.4562, allocations: 1.655 MB / 0.5343 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4564, allocations: 202.9 kB / 0.5345 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008951/0.4573, allocations: 265.5 kB / 0.5347 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4749, allocations: 8.364 MB / 0.5429 GB, free: 35.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/0.4751, allocations: 22.52 kB / 0.5429 GB, free: 35.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/0.4755, allocations: 123.4 kB / 0.543 GB, free: 35.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003391/0.4789, allocations: 1.76 MB / 0.5447 GB, free: 34.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.4953, allocations: 7.039 MB / 0.5516 GB, free: 32.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.5288, allocations: 25.7 MB / 0.5767 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004703/0.5336, allocations: 2.552 MB / 0.5792 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5348, allocations: 0.9773 MB / 0.5802 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006522/0.5413, allocations: 4.443 MB / 0.5845 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5414, allocations: 43.56 kB / 0.5845 GB, free: 356 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.208e-06/0.5414, allocations: 0 / 0.5845 GB, free: 356 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007421/0.5489, allocations: 2.734 MB / 0.5872 GB, free: 13.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.549, allocations: 60.41 kB / 0.5873 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/0.5526, allocations: 2.257 MB / 0.5895 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.5528, allocations: 41.7 kB / 0.5895 GB, free: 11.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.5547, allocations: 2.314 MB / 0.5918 GB, free: 8.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/0.5553, allocations: 470 kB / 0.5922 GB, free: 8.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.5564, allocations: 0.7421 MB / 0.5929 GB, free: 7.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5565, allocations: 305.1 kB / 0.5932 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.5583, allocations: 1.124 MB / 0.5943 GB, free: 6.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/0.5618, allocations: 3.284 MB / 0.5975 GB, free: 1.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.5679, allocations: 4.817 MB / 0.6022 GB, free: 11.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.548e-05/0.568, allocations: 24 kB / 0.6023 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008459/0.5764, allocations: 4.332 MB / 0.6065 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5766, allocations: 36 kB / 0.6065 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.5767, allocations: 76 kB / 0.6066 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.5769, allocations: 104 kB / 0.6067 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.5799, allocations: 0.8149 MB / 0.6075 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001719/0.5801, allocations: 147.4 kB / 0.6076 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.583, allocations: 0.4947 MB / 0.6081 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006216/0.5837, allocations: 225.1 kB / 0.6083 GB, free: 5.719 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * 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 (450): * Single equations (assignments): 445 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003445/0.5871, allocations: 1.71 MB / 0.61 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.5876, allocations: 189.5 kB / 0.6102 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.5906, allocations: 1.526 MB / 0.6117 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.5907, allocations: 12 kB / 0.6117 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.5907, allocations: 7.984 kB / 0.6117 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5907, allocations: 3.984 kB / 0.6117 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6051, allocations: 7.37 MB / 0.6189 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/0.6052, allocations: 16 kB / 0.6189 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/0.606, allocations: 195.6 kB / 0.6191 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.061e-05/0.606, allocations: 20 kB / 0.6191 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.6061, allocations: 39.98 kB / 0.6192 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.664e-05/0.6061, allocations: 31.86 kB / 0.6192 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/0.6061, allocations: 19.94 kB / 0.6192 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.609, allocations: 2.001 MB / 0.6212 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.6098, allocations: 322 kB / 0.6215 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/0.6104, allocations: 35.98 kB / 0.6215 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6115, allocations: 51.88 kB / 0.6216 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.6117, allocations: 119.5 kB / 0.6217 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.6118, allocations: 55.97 kB / 0.6217 GB, free: 7.492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00319/0.615, allocations: 1.574 MB / 0.6233 GB, free: 5.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.615, allocations: 0 / 0.6233 GB, free: 5.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004567/0.6196, allocations: 0.92 MB / 0.6242 GB, free: 4.98 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006043/0.6203, allocations: 173.4 kB / 0.6243 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005235/0.6255, allocations: 2.656 MB / 0.6269 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/0.6256, allocations: 4 kB / 0.6269 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.6269, allocations: 0.699 MB / 0.6276 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.6297, allocations: 326.4 kB / 0.6279 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.6452, allocations: 7.338 MB / 0.6351 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003678/0.6489, allocations: 2.828 MB / 0.6378 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/0.6497, allocations: 195.4 kB / 0.638 GB, free: 6.551 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/0.6498, allocations: 0 / 0.638 GB, free: 6.551 MB / 478.1 MB Notification: Performance of Templates: time 0.06555/0.7153, allocations: 39.94 MB / 0.677 GB, free: 14.58 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches