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.001374/0.001374, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 202 kB / 16.79 MB, free: 6.84 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4601/0.4601, allocations: 43.51 MB / 313.5 MB, free: 8.539 MB / 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.00146/0.00146, allocations: 67.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1574, allocations: 57.79 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3315/0.4889, allocations: 54.55 MB / 494.4 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02483/0.5138, allocations: 10.38 MB / 0.4929 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01376/0.5276, allocations: 218.7 kB / 0.4931 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005165/0.5328, allocations: 2.655 MB / 0.4957 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.5369, allocations: 1.287 MB / 0.497 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/0.5378, allocations: 322.1 kB / 0.4973 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007762/0.5456, allocations: 4.303 MB / 0.5015 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004866/0.5505, allocations: 3.131 MB / 0.5045 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.553, allocations: 1.058 MB / 0.5056 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.5565, allocations: 1.703 MB / 0.5072 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009174/0.5574, allocations: 216.7 kB / 0.5074 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.5596, allocations: 0.7418 MB / 0.5082 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.5616, allocations: 1.494 MB / 0.5096 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.5639, allocations: 1.766 MB / 0.5114 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008729/0.5726, allocations: 5.717 MB / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.5727, allocations: 1.312 kB / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5727, allocations: 0 / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002574/0.573, allocations: 0 / 0.5169 GB, free: 15.8 MB / 398.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.01231/0.5853, allocations: 3.743 MB / 0.5206 GB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5853, allocations: 8.938 kB / 0.5206 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/0.5915, allocations: 1.716 MB / 0.5223 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.5961, allocations: 1.64 MB / 0.5239 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.5964, allocations: 213 kB / 0.5241 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.597, allocations: 260.9 kB / 0.5243 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.6118, allocations: 8.37 MB / 0.5325 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.6119, allocations: 11.88 kB / 0.5325 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.6123, allocations: 119.9 kB / 0.5326 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/0.6149, allocations: 1.76 MB / 0.5344 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.6281, allocations: 7.046 MB / 0.5412 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/0.6682, allocations: 25.91 MB / 0.5665 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005953/0.6742, allocations: 2.544 MB / 0.569 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6759, allocations: 0.9707 MB / 0.57 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00883/0.6847, allocations: 4.456 MB / 0.5743 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.6848, allocations: 47.56 kB / 0.5744 GB, free: 6.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 5.761e-06/0.6848, allocations: 0 / 0.5744 GB, free: 6.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007409/0.6923, allocations: 2.727 MB / 0.577 GB, free: 3.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.6923, allocations: 64.41 kB / 0.5771 GB, free: 3.438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/0.6968, allocations: 2.257 MB / 0.5793 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.697, allocations: 41.7 kB / 0.5793 GB, free: 1.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.6988, allocations: 2.314 MB / 0.5816 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00054/0.6994, allocations: 458 kB / 0.582 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.7007, allocations: 0.7499 MB / 0.5828 GB, free: 13.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7008, allocations: 313 kB / 0.5831 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.7027, allocations: 1.124 MB / 0.5842 GB, free: 12.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/0.7063, allocations: 3.287 MB / 0.5874 GB, free: 7.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/0.7119, allocations: 4.815 MB / 0.5921 GB, free: 1.863 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.517e-05/0.712, allocations: 24 kB / 0.5921 GB, free: 1.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008296/0.7203, allocations: 4.317 MB / 0.5963 GB, free: 13.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.7204, allocations: 36.19 kB / 0.5963 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.7206, allocations: 80 kB / 0.5964 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.7207, allocations: 100 kB / 0.5965 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.7233, allocations: 0.8149 MB / 0.5973 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001484/0.7235, allocations: 151.4 kB / 0.5975 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/0.7268, allocations: 0.4947 MB / 0.5979 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006333/0.7274, allocations: 228 kB / 0.5982 GB, free: 11.62 MB / 478.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.004823/0.7323, allocations: 1.714 MB / 0.5998 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/0.7328, allocations: 193.4 kB / 0.6 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.736, allocations: 1.514 MB / 0.6015 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/0.736, allocations: 15.98 kB / 0.6015 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.736, allocations: 0 / 0.6015 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.7361, allocations: 7.969 kB / 0.6015 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.7521, allocations: 7.378 MB / 0.6087 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.7522, allocations: 20.06 kB / 0.6087 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.753, allocations: 187.7 kB / 0.6089 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-05/0.7531, allocations: 20 kB / 0.6089 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.7532, allocations: 43.92 kB / 0.609 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/0.7532, allocations: 23.88 kB / 0.609 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/0.7533, allocations: 31.81 kB / 0.609 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.7562, allocations: 1.996 MB / 0.611 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/0.7571, allocations: 333.9 kB / 0.6113 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.7576, allocations: 35.98 kB / 0.6113 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7587, allocations: 51.88 kB / 0.6114 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7589, allocations: 115.3 kB / 0.6115 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.759, allocations: 63.97 kB / 0.6116 GB, free: 13.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003282/0.7623, allocations: 1.57 MB / 0.6131 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7623, allocations: 0 / 0.6131 GB, free: 11.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004361/0.7667, allocations: 0.9214 MB / 0.614 GB, free: 10.85 MB / 494.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.0004826/0.7672, allocations: 170.8 kB / 0.6141 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004547/0.7717, allocations: 2.621 MB / 0.6167 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.7718, allocations: 4 kB / 0.6167 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.7728, allocations: 0.6938 MB / 0.6174 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.775, allocations: 308.8 kB / 0.6177 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.7903, allocations: 8.741 MB / 0.6262 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004578/0.7949, allocations: 2.828 MB / 0.629 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003385/0.7983, allocations: 1.171 MB / 0.6301 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.7989, allocations: 163.4 kB / 0.6303 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.7989, allocations: 0 / 0.6303 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of Templates: time 0.2778/1.077, allocations: 18.74 MB / 0.6486 GB, free: 152 MB / 0.4981 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/jenkins/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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches