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.001672/0.001672, allocations: 113.9 kB / 18.46 MB, free: 4.59 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.001951/0.001951, allocations: 186.1 kB / 19.39 MB, free: 3.668 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.364/1.364, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1998/0.1998, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01171/0.3245, allocations: 10.52 MB / 0.5298 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007245/0.3318, allocations: 3.106 MB / 0.5329 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.3337, allocations: 55.19 kB / 0.5329 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.3386, allocations: 2.621 MB / 0.5355 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.3418, allocations: 1.245 MB / 0.5367 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.3427, allocations: 349.8 kB / 0.537 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.3462, allocations: 2.594 MB / 0.5396 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003915/0.3501, allocations: 3.029 MB / 0.5425 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.3522, allocations: 1.092 MB / 0.5436 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.3544, allocations: 1.416 MB / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.355, allocations: 260 kB / 0.5452 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.3566, allocations: 0.7607 MB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.3579, allocations: 1.411 MB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.3599, allocations: 1.631 MB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.3653, allocations: 5.366 MB / 0.5542 GB, free: 8.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3653, allocations: 4 kB / 0.5542 GB, free: 8.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3653, allocations: 0 / 0.5542 GB, free: 8.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.3655, allocations: 0 / 0.5542 GB, free: 8.543 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.007735/0.3732, allocations: 3.497 MB / 0.5576 GB, free: 4.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3733, allocations: 12.02 kB / 0.5576 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/0.3788, allocations: 1.676 MB / 0.5592 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.3815, allocations: 1.551 MB / 0.5608 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.3816, allocations: 181.1 kB / 0.5609 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/0.3821, allocations: 243.8 kB / 0.5612 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.3937, allocations: 7.485 MB / 0.5685 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/0.3938, allocations: 11.88 kB / 0.5685 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.3942, allocations: 111.9 kB / 0.5686 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/0.3966, allocations: 1.572 MB / 0.5701 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.4076, allocations: 6.262 MB / 0.5762 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.438, allocations: 23.2 MB / 0.5989 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.4427, allocations: 2.186 MB / 0.601 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.4438, allocations: 0.7699 MB / 0.6018 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007087/0.4509, allocations: 3.904 MB / 0.6056 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4509, allocations: 39.12 kB / 0.6056 GB, free: 2.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 4.519e-06/0.451, allocations: 3.938 kB / 0.6056 GB, free: 2.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006508/0.4575, allocations: 2.26 MB / 0.6078 GB, free: 232 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4575, allocations: 59.97 kB / 0.6079 GB, free: 160 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.4615, allocations: 2.105 MB / 0.61 GB, free: 14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.4616, allocations: 41.69 kB / 0.61 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.4635, allocations: 2.199 MB / 0.6121 GB, free: 11.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.4639, allocations: 357.3 kB / 0.6125 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009708/0.4649, allocations: 0.6709 MB / 0.6131 GB, free: 10.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.465, allocations: 305.1 kB / 0.6134 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4664, allocations: 0.947 MB / 0.6144 GB, free: 9.453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.4692, allocations: 2.916 MB / 0.6172 GB, free: 5.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/0.4738, allocations: 4.21 MB / 0.6213 GB, free: 368 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.114e-05/0.4739, allocations: 20 kB / 0.6213 GB, free: 348 kB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006106/0.48, allocations: 3.762 MB / 0.625 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.4801, allocations: 36 kB / 0.625 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.4802, allocations: 68 kB / 0.6251 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.4803, allocations: 92 kB / 0.6252 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.4823, allocations: 0.6979 MB / 0.6259 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.4825, allocations: 139.4 kB / 0.626 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4846, allocations: 452.6 kB / 0.6264 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.4848, allocations: 200 kB / 0.6266 GB, free: 10.9 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003071/0.4879, allocations: 1.57 MB / 0.6282 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.4883, allocations: 182.7 kB / 0.6283 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.4888, allocations: 210.7 kB / 0.6285 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4888, allocations: 3.984 kB / 0.6285 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4888, allocations: 0 / 0.6285 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.4894, allocations: 255.7 kB / 0.6288 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.4898, allocations: 19.92 kB / 0.6288 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.4903, allocations: 23.98 kB / 0.6288 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4904, allocations: 36.52 kB / 0.6289 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001537/0.492, allocations: 1.046 MB / 0.6299 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001463/0.4935, allocations: 1.246 MB / 0.6311 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005275/0.494, allocations: 440.7 kB / 0.6315 GB, free: 5.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002031/0.496, allocations: 1.296 MB / 0.6328 GB, free: 4.512 MB / 494.1 MB Notification: Performance of Backend: time 5.21e-07/0.4961, allocations: 0 / 0.6328 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004263/0.5003, allocations: 1.921 MB / 0.6347 GB, free: 2.602 MB / 494.1 MB Notification: Performance of SimCode: time 0.01323/0.5136, allocations: 6.284 MB / 0.6408 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.06536/0.579, allocations: 21.79 MB / 0.6621 GB, free: 6.5 MB / 0.5137 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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