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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 109.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3641/0.3641, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 62.01 MB / 0.5151 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.03863/0.404, allocations: 52.5 MB / 0.5664 GB, free: 292 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0271/0.4311, allocations: 10.2 MB / 0.5764 GB, free: 9.465 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.4425, allocations: 215.1 kB / 0.5766 GB, free: 9.438 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005297/0.4479, allocations: 2.637 MB / 0.5792 GB, free: 7.883 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.4512, allocations: 1.156 MB / 0.5803 GB, free: 6.723 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009466/0.4522, allocations: 331.5 kB / 0.5806 GB, free: 6.398 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004543/0.4568, allocations: 3.955 MB / 0.5845 GB, free: 2.438 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.4603, allocations: 2.998 MB / 0.5874 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.4621, allocations: 0.9733 MB / 0.5883 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.4645, allocations: 1.492 MB / 0.5898 GB, free: 12.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007074/0.4652, allocations: 200 kB / 0.59 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.467, allocations: 0.7372 MB / 0.5907 GB, free: 12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.4687, allocations: 1.348 MB / 0.592 GB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.471, allocations: 1.576 MB / 0.5936 GB, free: 9.059 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.4768, allocations: 5.124 MB / 0.5986 GB, free: 3.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4768, allocations: 0 / 0.5986 GB, free: 3.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4768, allocations: 0 / 0.5986 GB, free: 3.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001313/0.4769, allocations: 0 / 0.5986 GB, free: 3.918 MB / 410.7 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.005394/0.4823, allocations: 3.391 MB / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4824, allocations: 12.03 kB / 0.6019 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/0.4874, allocations: 1.658 MB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.4903, allocations: 1.531 MB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.4904, allocations: 185.1 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.4908, allocations: 247.8 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009558/0.5004, allocations: 7.489 MB / 0.6127 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.5004, allocations: 15.88 kB / 0.6128 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.5007, allocations: 107.9 kB / 0.6129 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.5029, allocations: 1.568 MB / 0.6144 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.5131, allocations: 6.266 MB / 0.6205 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.5462, allocations: 23.31 MB / 0.6433 GB, free: 5.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.5507, allocations: 2.199 MB / 0.6454 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.5517, allocations: 0.7698 MB / 0.6462 GB, free: 1.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0069/0.5586, allocations: 3.887 MB / 0.65 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5587, allocations: 51.11 kB / 0.65 GB, free: 13.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.5587, allocations: 0 / 0.65 GB, free: 13.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=87): time 0.005713/0.5644, allocations: 2.244 MB / 0.6522 GB, free: 11.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5645, allocations: 67.91 kB / 0.6523 GB, free: 11.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.5673, allocations: 2.101 MB / 0.6543 GB, free: 9.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.5673, allocations: 33.7 kB / 0.6543 GB, free: 9.375 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.5686, allocations: 2.12 MB / 0.6564 GB, free: 7.223 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.5689, allocations: 347.6 kB / 0.6567 GB, free: 6.879 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007464/0.5697, allocations: 0.6586 MB / 0.6574 GB, free: 6.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.5698, allocations: 305.1 kB / 0.6577 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.571, allocations: 0.9431 MB / 0.6586 GB, free: 4.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.5741, allocations: 2.916 MB / 0.6615 GB, free: 1.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/0.5782, allocations: 4.205 MB / 0.6656 GB, free: 11.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-05/0.5783, allocations: 24 kB / 0.6656 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005464/0.5838, allocations: 3.751 MB / 0.6692 GB, free: 8.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.5838, allocations: 40.03 kB / 0.6693 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-05/0.5839, allocations: 75.92 kB / 0.6694 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-05/0.584, allocations: 92 kB / 0.6694 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.5859, allocations: 0.7018 MB / 0.6701 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.186e-05/0.586, allocations: 139.4 kB / 0.6703 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5878, allocations: 439.2 kB / 0.6707 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.5881, allocations: 200 kB / 0.6709 GB, free: 6.434 MB / 490.7 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.002296/0.5904, allocations: 1.563 MB / 0.6724 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.5906, allocations: 177.6 kB / 0.6726 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.591, allocations: 218.7 kB / 0.6728 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.5911, allocations: 11.98 kB / 0.6728 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5911, allocations: 0 / 0.6728 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5911, allocations: 3.984 kB / 0.6728 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2381/0.8292, allocations: 5.065 MB / 0.6777 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.8292, allocations: 7.406 kB / 0.6777 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.8298, allocations: 119.7 kB / 0.6779 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.8298, allocations: 10.47 kB / 0.6779 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.8299, allocations: 28.58 kB / 0.6779 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.8299, allocations: 15.73 kB / 0.6779 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.8299, allocations: 13.91 kB / 0.6779 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.8326, allocations: 2.809 MB / 0.6807 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.8331, allocations: 289.7 kB / 0.6809 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.8333, allocations: 26.81 kB / 0.681 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.8338, allocations: 33.12 kB / 0.681 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.8339, allocations: 68.19 kB / 0.6811 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.834, allocations: 35.09 kB / 0.6811 GB, free: 129.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001838/0.8358, allocations: 1.473 MB / 0.6825 GB, free: 129.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8358, allocations: 0 / 0.6825 GB, free: 129.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003291/0.8391, allocations: 0.8128 MB / 0.6833 GB, free: 129 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0004015/0.8395, allocations: 150 kB / 0.6835 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.8426, allocations: 2.172 MB / 0.6856 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.8426, allocations: 2.875 kB / 0.6856 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.8433, allocations: 0.5015 MB / 0.6861 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.845, allocations: 276.2 kB / 0.6864 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.8561, allocations: 8.1 MB / 0.6943 GB, free: 123.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.8587, allocations: 2.628 MB / 0.6968 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002602/0.8613, allocations: 1.035 MB / 0.6978 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.8617, allocations: 139 kB / 0.698 GB, free: 122 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8617, allocations: 0 / 0.698 GB, free: 122 MB / 490.7 MB Notification: Performance of Templates: time 0.03987/0.9016, allocations: 16.65 MB / 0.7142 GB, free: 119 MB / 490.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches