Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001174/0.001175, allocations: 95.02 kB / 17 MB, free: 6.418 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.001827/0.001827, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 44.24 MB / 337.3 MB, free: 2.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3503/0.4837, allocations: 47.56 MB / 0.507 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02906/0.5129, allocations: 9.68 MB / 0.5164 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/0.5267, allocations: 211.8 kB / 0.5166 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.5375, allocations: 2.073 MB / 0.5187 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02044/0.558, allocations: 5.92 MB / 0.5244 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.5608, allocations: 304 kB / 0.5247 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005838/0.5666, allocations: 3.003 MB / 0.5277 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006697/0.5733, allocations: 3.796 MB / 0.5314 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.5751, allocations: 0.7873 MB / 0.5321 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.5768, allocations: 1.182 MB / 0.5333 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.5772, allocations: 104 kB / 0.5334 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5787, allocations: 0.5447 MB / 0.5339 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.5803, allocations: 1.177 MB / 0.5351 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.5811, allocations: 0.6131 MB / 0.5357 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.5854, allocations: 4.15 MB / 0.5397 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.5854, allocations: 4 kB / 0.5397 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5854, allocations: 0 / 0.5397 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.5856, allocations: 0 / 0.5397 GB, free: 1.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006756/0.5924, allocations: 2.816 MB / 0.5425 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5924, allocations: 11.31 kB / 0.5425 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.5976, allocations: 1.695 MB / 0.5442 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.601, allocations: 1.504 MB / 0.5456 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.6012, allocations: 182.6 kB / 0.5458 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.6018, allocations: 244.2 kB / 0.546 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.6156, allocations: 7.469 MB / 0.5533 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.6157, allocations: 11.88 kB / 0.5533 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.616, allocations: 115.9 kB / 0.5534 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.6183, allocations: 1.568 MB / 0.555 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.6305, allocations: 6.228 MB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/0.6666, allocations: 23.31 MB / 0.5838 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.6713, allocations: 2.206 MB / 0.586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.6724, allocations: 0.7659 MB / 0.5867 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006752/0.6792, allocations: 3.888 MB / 0.5905 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.6792, allocations: 35.12 kB / 0.5905 GB, free: 4.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 4.979e-06/0.6792, allocations: 0 / 0.5905 GB, free: 4.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.005942/0.6852, allocations: 2.247 MB / 0.5927 GB, free: 2.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6853, allocations: 67.91 kB / 0.5928 GB, free: 2.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.6884, allocations: 2.088 MB / 0.5948 GB, free: 396 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.6885, allocations: 33.7 kB / 0.5949 GB, free: 356 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.6902, allocations: 2.114 MB / 0.5969 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.6905, allocations: 353 kB / 0.5973 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.6906, allocations: 62.81 kB / 0.5973 GB, free: 13.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.6909, allocations: 448.9 kB / 0.5978 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.6924, allocations: 0.9314 MB / 0.5987 GB, free: 12.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.6955, allocations: 2.897 MB / 0.6015 GB, free: 8.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.698, allocations: 1.646 MB / 0.6031 GB, free: 6.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/0.6981, allocations: 20 kB / 0.6031 GB, free: 6.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006699/0.7048, allocations: 3.723 MB / 0.6068 GB, free: 3.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.7049, allocations: 39.12 kB / 0.6068 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.705, allocations: 73.42 kB / 0.6069 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.7051, allocations: 100 kB / 0.607 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.707, allocations: 0.7057 MB / 0.6077 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/0.7072, allocations: 135.5 kB / 0.6078 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.7095, allocations: 440.5 kB / 0.6082 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.7098, allocations: 199.9 kB / 0.6084 GB, free: 1.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (388): * Single equations (assignments): 383 * Array equations: 5 * 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.0038/0.7136, allocations: 1.558 MB / 0.6099 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/0.714, allocations: 177.6 kB / 0.6101 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.7146, allocations: 218.7 kB / 0.6103 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.7146, allocations: 12 kB / 0.6103 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.7146, allocations: 3.938 kB / 0.6103 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7146, allocations: 3.984 kB / 0.6103 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/0.7235, allocations: 5.068 MB / 0.6153 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.7236, allocations: 15.94 kB / 0.6153 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.7242, allocations: 117.3 kB / 0.6154 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.7242, allocations: 16 kB / 0.6154 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.7243, allocations: 24 kB / 0.6154 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/0.7243, allocations: 19.92 kB / 0.6155 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.7243, allocations: 8 kB / 0.6155 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.7264, allocations: 1.399 MB / 0.6168 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.7271, allocations: 302.2 kB / 0.6171 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.7273, allocations: 20 kB / 0.6171 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.7278, allocations: 34.77 kB / 0.6172 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.7279, allocations: 63.8 kB / 0.6172 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.728, allocations: 35.98 kB / 0.6173 GB, free: 8.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.7304, allocations: 1.461 MB / 0.6187 GB, free: 6.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.7304, allocations: 0 / 0.6187 GB, free: 6.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003977/0.7344, allocations: 0.8053 MB / 0.6195 GB, free: 5.848 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0004001/0.7348, allocations: 157.6 kB / 0.6196 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.7387, allocations: 2.149 MB / 0.6217 GB, free: 3.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.7387, allocations: 4 kB / 0.6217 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000714/0.7395, allocations: 0.498 MB / 0.6222 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.7412, allocations: 283.2 kB / 0.6225 GB, free: 2.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.7533, allocations: 7.243 MB / 0.6296 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/0.7564, allocations: 2.6 MB / 0.6321 GB, free: 8.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002636/0.7591, allocations: 1.028 MB / 0.6331 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.7595, allocations: 143.3 kB / 0.6332 GB, free: 7.598 MB / 478.1 MB Notification: Performance of SimCode: time 2.675e-06/0.7595, allocations: 0 / 0.6332 GB, free: 7.598 MB / 478.1 MB Notification: Performance of Templates: time 0.03695/0.7964, allocations: 15.73 MB / 0.6486 GB, free: 7.945 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches