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.001192/0.001193, allocations: 114.2 kB / 17.08 MB, free: 5.828 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.001167/0.001167, allocations: 199 kB / 18.01 MB, free: 4.965 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.397/1.397, 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.2123/0.2123, allocations: 43.52 MB / 314.8 MB, free: 464 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.001568/0.001569, allocations: 63.91 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 57.8 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01328/0.1261, allocations: 12.61 MB / 0.5008 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007777/0.134, allocations: 3.361 MB / 0.5041 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.1361, allocations: 67.88 kB / 0.5042 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.1413, allocations: 2.64 MB / 0.5068 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.1455, allocations: 1.362 MB / 0.5081 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1465, allocations: 351.3 kB / 0.5084 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.151, allocations: 2.87 MB / 0.5112 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004843/0.1559, allocations: 3.164 MB / 0.5143 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.1582, allocations: 1.195 MB / 0.5155 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.161, allocations: 1.632 MB / 0.5171 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.1621, allocations: 300 kB / 0.5174 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1642, allocations: 0.7802 MB / 0.5181 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.1663, allocations: 1.559 MB / 0.5197 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.1694, allocations: 1.837 MB / 0.5214 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.1759, allocations: 5.999 MB / 0.5273 GB, free: 3.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1759, allocations: 4 kB / 0.5273 GB, free: 3.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1759, allocations: 0 / 0.5273 GB, free: 3.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.1761, allocations: 0 / 0.5273 GB, free: 3.934 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.006186/0.1823, allocations: 3.744 MB / 0.531 GB, free: 128 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1823, allocations: 15.89 kB / 0.531 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2728/0.4551, allocations: 1.712 MB / 0.5327 GB, free: 38.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.4592, allocations: 1.658 MB / 0.5343 GB, free: 37.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.4594, allocations: 206.1 kB / 0.5345 GB, free: 37.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000866/0.4603, allocations: 262.8 kB / 0.5347 GB, free: 37.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.4753, allocations: 8.365 MB / 0.5429 GB, free: 35.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.607e-05/0.4754, allocations: 18.69 kB / 0.5429 GB, free: 35.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.4758, allocations: 123 kB / 0.543 GB, free: 35.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003111/0.4789, allocations: 1.761 MB / 0.5447 GB, free: 34.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4936, allocations: 7.03 MB / 0.5516 GB, free: 32.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.5263, allocations: 25.71 MB / 0.5767 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.5312, allocations: 2.551 MB / 0.5792 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.5325, allocations: 0.9734 MB / 0.5802 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007007/0.5395, allocations: 4.451 MB / 0.5845 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5396, allocations: 43.56 kB / 0.5845 GB, free: 408 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.419e-06/0.5396, allocations: 0 / 0.5845 GB, free: 408 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007183/0.5468, allocations: 2.73 MB / 0.5872 GB, free: 13.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.5469, allocations: 64.34 kB / 0.5873 GB, free: 13.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.551, allocations: 2.257 MB / 0.5895 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.5512, allocations: 41.7 kB / 0.5895 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.5531, allocations: 2.321 MB / 0.5918 GB, free: 8.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/0.5537, allocations: 462 kB / 0.5922 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.555, allocations: 0.746 MB / 0.593 GB, free: 7.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5551, allocations: 301.1 kB / 0.5932 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.557, allocations: 1.124 MB / 0.5943 GB, free: 6.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.5605, allocations: 3.284 MB / 0.5975 GB, free: 1.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/0.5662, allocations: 4.821 MB / 0.6022 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.061e-05/0.5663, allocations: 20 kB / 0.6023 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007604/0.5739, allocations: 4.324 MB / 0.6065 GB, free: 7.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.574, allocations: 40 kB / 0.6065 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.5741, allocations: 76 kB / 0.6066 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.5743, allocations: 100 kB / 0.6067 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.5768, allocations: 0.8188 MB / 0.6075 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001391/0.577, allocations: 147.4 kB / 0.6076 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.5797, allocations: 0.495 MB / 0.6081 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/0.5801, allocations: 231.9 kB / 0.6083 GB, free: 5.77 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.002927/0.5831, allocations: 1.702 MB / 0.61 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.5835, allocations: 193.5 kB / 0.6102 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.5863, allocations: 1.522 MB / 0.6117 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.5864, allocations: 12 kB / 0.6117 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5864, allocations: 3.938 kB / 0.6117 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5864, allocations: 3.984 kB / 0.6117 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6006, allocations: 7.374 MB / 0.6189 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.6007, allocations: 12 kB / 0.6189 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.6016, allocations: 191.6 kB / 0.6191 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/0.6016, allocations: 20 kB / 0.6191 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.6017, allocations: 43.97 kB / 0.6192 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.295e-05/0.6018, allocations: 31.86 kB / 0.6192 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/0.6018, allocations: 20.34 kB / 0.6192 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.6046, allocations: 2.016 MB / 0.6212 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.6054, allocations: 314 kB / 0.6215 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/0.6058, allocations: 39.98 kB / 0.6215 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6069, allocations: 51.88 kB / 0.6216 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.6071, allocations: 115.5 kB / 0.6217 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6072, allocations: 51.98 kB / 0.6217 GB, free: 7.551 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002957/0.6101, allocations: 1.574 MB / 0.6233 GB, free: 5.961 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6102, allocations: 0 / 0.6233 GB, free: 5.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003913/0.6141, allocations: 0.928 MB / 0.6242 GB, free: 5.031 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.0005625/0.6147, allocations: 173.4 kB / 0.6243 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.6195, allocations: 2.651 MB / 0.6269 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.6195, allocations: 0 / 0.6269 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6207, allocations: 0.6992 MB / 0.6276 GB, free: 1.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.6231, allocations: 334.5 kB / 0.6279 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.6383, allocations: 7.337 MB / 0.6351 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004606/0.6429, allocations: 2.828 MB / 0.6378 GB, free: 6.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/0.6438, allocations: 195.4 kB / 0.638 GB, free: 6.602 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6438, allocations: 0 / 0.638 GB, free: 6.602 MB / 478.1 MB Notification: Performance of Templates: time 0.06504/0.7088, allocations: 40.43 MB / 0.6775 GB, free: 14.13 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