Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 79.86 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01085/0.3026, allocations: 10.11 MB / 0.5415 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00642/0.309, allocations: 3.081 MB / 0.5445 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3102, allocations: 52.56 kB / 0.5446 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.3146, allocations: 2.615 MB / 0.5471 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.3172, allocations: 1.175 MB / 0.5483 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.318, allocations: 351.3 kB / 0.5486 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.321, allocations: 2.544 MB / 0.5511 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.3238, allocations: 2.986 MB / 0.554 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.3249, allocations: 1.055 MB / 0.555 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3264, allocations: 1.371 MB / 0.5564 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.3267, allocations: 248 kB / 0.5566 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3279, allocations: 0.7646 MB / 0.5574 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000946/0.3289, allocations: 1.34 MB / 0.5587 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.3301, allocations: 1.553 MB / 0.5602 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.3342, allocations: 5.104 MB / 0.5652 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3342, allocations: 0 / 0.5652 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3342, allocations: 4 kB / 0.5652 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.526e-05/0.3343, allocations: 4 kB / 0.5652 GB, free: 15.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.004521/0.3388, allocations: 3.265 MB / 0.5684 GB, free: 11.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3389, allocations: 8.031 kB / 0.5684 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.3434, allocations: 1.599 MB / 0.5699 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.3456, allocations: 1.504 MB / 0.5714 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3457, allocations: 176.9 kB / 0.5716 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.3461, allocations: 239.8 kB / 0.5718 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008618/0.3547, allocations: 7.11 MB / 0.5788 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.3548, allocations: 19.88 kB / 0.5788 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.355, allocations: 107.9 kB / 0.5789 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.3569, allocations: 1.439 MB / 0.5803 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008862/0.3658, allocations: 5.956 MB / 0.5861 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/0.3897, allocations: 22.28 MB / 0.6079 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.3939, allocations: 2.195 MB / 0.61 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/0.3949, allocations: 0.7659 MB / 0.6108 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005644/0.4006, allocations: 3.856 MB / 0.6145 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4006, allocations: 39.12 kB / 0.6146 GB, free: 11.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.4006, allocations: 4 kB / 0.6146 GB, free: 11.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005826/0.4064, allocations: 2.24 MB / 0.6167 GB, free: 9.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4065, allocations: 59.91 kB / 0.6168 GB, free: 9.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.4088, allocations: 2.06 MB / 0.6188 GB, free: 7.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.4089, allocations: 37.69 kB / 0.6189 GB, free: 6.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.4101, allocations: 2.034 MB / 0.6208 GB, free: 4.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.4103, allocations: 339.7 kB / 0.6212 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/0.4111, allocations: 0.6584 MB / 0.6218 GB, free: 3.891 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4112, allocations: 361.9 kB / 0.6221 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4125, allocations: 0.9313 MB / 0.6231 GB, free: 2.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.4149, allocations: 2.868 MB / 0.6259 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/0.4191, allocations: 4.158 MB / 0.6299 GB, free: 9.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-05/0.4192, allocations: 20 kB / 0.6299 GB, free: 9.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005167/0.4244, allocations: 3.694 MB / 0.6335 GB, free: 5.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.4244, allocations: 36 kB / 0.6336 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-05/0.4245, allocations: 68 kB / 0.6336 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.9e-05/0.4246, allocations: 95.94 kB / 0.6337 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.4264, allocations: 0.683 MB / 0.6344 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.917e-05/0.4265, allocations: 139.4 kB / 0.6345 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4282, allocations: 443.2 kB / 0.635 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.4284, allocations: 192 kB / 0.6351 GB, free: 4.289 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * 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.001874/0.4303, allocations: 1.503 MB / 0.6366 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4305, allocations: 173.7 kB / 0.6368 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.4308, allocations: 214.2 kB / 0.637 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4309, allocations: 3.984 kB / 0.637 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4309, allocations: 0 / 0.637 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.4311, allocations: 234.8 kB / 0.6372 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4313, allocations: 15.98 kB / 0.6372 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.4317, allocations: 19.98 kB / 0.6372 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.4318, allocations: 40.45 kB / 0.6373 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001409/0.4332, allocations: 1.042 MB / 0.6383 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001308/0.4345, allocations: 1.237 MB / 0.6395 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004992/0.435, allocations: 440.7 kB / 0.6399 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001498/0.4365, allocations: 1.276 MB / 0.6412 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of Backend: time 1.653e-06/0.4365, allocations: 0 / 0.6412 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003021/0.4396, allocations: 1.888 MB / 0.643 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008004/0.4476, allocations: 5.947 MB / 0.6488 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.03961/0.4872, allocations: 21.05 MB / 0.6694 GB, free: 1.16 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches