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.001197/0.001196, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.001214/0.001214, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.319/1.319, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2039/0.2039, allocations: 43.52 MB / 314.7 MB, free: 476 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.001556/0.001556, allocations: 69.25 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.0954, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01107/0.1065, allocations: 12.6 MB / 454.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.1134, allocations: 3.357 MB / 457.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1146, allocations: 63.88 kB / 458 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004363/0.119, allocations: 2.644 MB / 460.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1221, allocations: 1.362 MB / 462 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.1229, allocations: 351.3 kB / 462.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.1263, allocations: 2.881 MB / 465.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.1294, allocations: 3.16 MB / 468.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.1308, allocations: 1.203 MB / 469.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.1326, allocations: 1.624 MB / 471.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.133, allocations: 296 kB / 471.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1342, allocations: 0.7763 MB / 472.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1353, allocations: 1.555 MB / 473.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.1368, allocations: 1.833 MB / 475.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.1415, allocations: 6.003 MB / 481.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1415, allocations: 0 / 481.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1415, allocations: 0 / 481.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.369e-05/0.1416, allocations: 0 / 481.6 MB, free: 14.27 MB / 366.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.00548/0.1471, allocations: 3.744 MB / 485.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1471, allocations: 15.89 kB / 485.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.1524, allocations: 1.708 MB / 487.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.1556, allocations: 1.66 MB / 488.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.1558, allocations: 213 kB / 489 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003975/0.1562, allocations: 259.9 kB / 489.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.1672, allocations: 8.37 MB / 497.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.1673, allocations: 15.88 kB / 497.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.1676, allocations: 131.8 kB / 497.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.1701, allocations: 1.76 MB / 499.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.1819, allocations: 7.041 MB / 0.4947 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.2188, allocations: 25.71 MB / 0.5198 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.224, allocations: 2.537 MB / 0.5223 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.2254, allocations: 0.9774 MB / 0.5232 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008538/0.234, allocations: 4.455 MB / 0.5276 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.234, allocations: 39.56 kB / 0.5276 GB, free: 2.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.357e-06/0.234, allocations: 4 kB / 0.5276 GB, free: 2.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.1793/0.4134, allocations: 2.717 MB / 0.5303 GB, free: 87.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.4135, allocations: 63.42 kB / 0.5303 GB, free: 87.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.4166, allocations: 2.263 MB / 0.5325 GB, free: 87.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.4167, allocations: 46.3 kB / 0.5326 GB, free: 87.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.4178, allocations: 2.31 MB / 0.5348 GB, free: 86.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.4182, allocations: 467.2 kB / 0.5353 GB, free: 86.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008318/0.419, allocations: 0.7434 MB / 0.536 GB, free: 86.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.419, allocations: 309.5 kB / 0.5363 GB, free: 85.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.4205, allocations: 1.119 MB / 0.5374 GB, free: 85.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.4232, allocations: 3.283 MB / 0.5406 GB, free: 82.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.4273, allocations: 4.821 MB / 0.5453 GB, free: 78.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.4273, allocations: 20.41 kB / 0.5453 GB, free: 78.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006254/0.4336, allocations: 4.33 MB / 0.5496 GB, free: 76.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.4337, allocations: 37.94 kB / 0.5496 GB, free: 76.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.4338, allocations: 83.03 kB / 0.5497 GB, free: 76.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/0.4339, allocations: 98.44 kB / 0.5498 GB, free: 76.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.436, allocations: 0.8114 MB / 0.5506 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-05/0.4361, allocations: 157.3 kB / 0.5507 GB, free: 76.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.4382, allocations: 0.4904 MB / 0.5512 GB, free: 76.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.4384, allocations: 227.9 kB / 0.5514 GB, free: 76.34 MB / 414.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.00194/0.4403, allocations: 1.707 MB / 0.5531 GB, free: 75.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4405, allocations: 189.2 kB / 0.5532 GB, free: 75.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4425, allocations: 1.518 MB / 0.5547 GB, free: 74.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4425, allocations: 11.72 kB / 0.5547 GB, free: 74.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4425, allocations: 3.625 kB / 0.5547 GB, free: 74.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4425, allocations: 3.891 kB / 0.5547 GB, free: 74.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/0.4515, allocations: 7.371 MB / 0.5619 GB, free: 70.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.4516, allocations: 19.19 kB / 0.562 GB, free: 70.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.4522, allocations: 196.4 kB / 0.5622 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.4523, allocations: 20 kB / 0.5622 GB, free: 70.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.4523, allocations: 43.69 kB / 0.5622 GB, free: 70.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.4523, allocations: 26.75 kB / 0.5622 GB, free: 70.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.4524, allocations: 24.38 kB / 0.5623 GB, free: 70.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.4541, allocations: 1.997 MB / 0.5642 GB, free: 68.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.4546, allocations: 325.9 kB / 0.5645 GB, free: 67.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.4548, allocations: 39.98 kB / 0.5646 GB, free: 67.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.4555, allocations: 47.88 kB / 0.5646 GB, free: 67.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4556, allocations: 118.2 kB / 0.5647 GB, free: 67.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.4557, allocations: 55.89 kB / 0.5648 GB, free: 67.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.4573, allocations: 1.578 MB / 0.5663 GB, free: 65.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4573, allocations: 0 / 0.5663 GB, free: 65.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002801/0.4601, allocations: 0.9207 MB / 0.5672 GB, free: 64.92 MB / 414.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.0003059/0.4604, allocations: 165.8 kB / 0.5674 GB, free: 64.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.4635, allocations: 2.657 MB / 0.57 GB, free: 62.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4635, allocations: 4 kB / 0.57 GB, free: 62.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.4642, allocations: 0.6914 MB / 0.5706 GB, free: 61.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.4656, allocations: 329 kB / 0.571 GB, free: 61.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.4737, allocations: 6.929 MB / 0.5777 GB, free: 53.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.4759, allocations: 2.834 MB / 0.5805 GB, free: 51.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002116/0.478, allocations: 1.169 MB / 0.5816 GB, free: 49.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.4784, allocations: 163.4 kB / 0.5818 GB, free: 49.81 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4784, allocations: 0 / 0.5818 GB, free: 49.81 MB / 414.1 MB Notification: Performance of Templates: time 0.02895/0.5074, allocations: 17.89 MB / 0.5993 GB, free: 32.07 MB / 414.1 MB 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 -s gbode -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