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.001046/0.001046, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009189/0.0009185, allocations: 97.31 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3229/0.3229, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002447, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3455, allocations: 62.97 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4761, allocations: 106.2 MB / 0.6221 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4763, allocations: 83.94 kB / 0.6222 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1439/0.6202, allocations: 60.96 MB / 0.6818 GB, free: 1.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.217e-06/0.6203, allocations: 0 / 0.6818 GB, free: 1.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.6205, allocations: 71.88 kB / 0.6818 GB, free: 1.57 MB / 490.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.3242/0.9447, allocations: 2.892 MB / 0.6847 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9448, allocations: 9.344 kB / 0.6847 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00847/0.9532, allocations: 1.874 MB / 0.6865 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/0.9585, allocations: 1.927 MB / 0.6884 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.959, allocations: 257.2 kB / 0.6886 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.961, allocations: 330.5 kB / 0.6889 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.9745, allocations: 7.299 MB / 0.6961 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.306e-05/0.9747, allocations: 20.28 kB / 0.6961 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.9751, allocations: 160.4 kB / 0.6962 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007671/0.9759, allocations: 0.6978 MB / 0.6969 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.988, allocations: 6.225 MB / 0.703 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03675/1.025, allocations: 25.02 MB / 0.7274 GB, free: 85.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/1.029, allocations: 2.201 MB / 0.7296 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/1.03, allocations: 0.7604 MB / 0.7303 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00575/1.036, allocations: 3.88 MB / 0.7341 GB, free: 81.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.036, allocations: 45.86 kB / 0.7341 GB, free: 81.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 4.328e-06/1.036, allocations: 2.625 kB / 0.7341 GB, free: 81.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.005038/1.041, allocations: 2.261 MB / 0.7364 GB, free: 81.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.041, allocations: 55.69 kB / 0.7364 GB, free: 81.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/1.043, allocations: 2.079 MB / 0.7384 GB, free: 80.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/1.043, allocations: 33.45 kB / 0.7385 GB, free: 80.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/1.044, allocations: 2.115 MB / 0.7405 GB, free: 78.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/1.044, allocations: 348 kB / 0.7409 GB, free: 78.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/1.044, allocations: 63.62 kB / 0.7409 GB, free: 78.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/1.044, allocations: 442.7 kB / 0.7414 GB, free: 78.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.046, allocations: 0.9022 MB / 0.7422 GB, free: 77.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.047, allocations: 2.856 MB / 0.745 GB, free: 74.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/1.05, allocations: 4.114 MB / 0.749 GB, free: 71.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/1.05, allocations: 18.59 kB / 0.7491 GB, free: 71.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004315/1.055, allocations: 3.64 MB / 0.7526 GB, free: 69.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.055, allocations: 36.62 kB / 0.7526 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/1.055, allocations: 70.12 kB / 0.7527 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.998e-05/1.055, allocations: 98.59 kB / 0.7528 GB, free: 69.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.057, allocations: 0.6968 MB / 0.7535 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.312e-05/1.057, allocations: 139.8 kB / 0.7536 GB, free: 69.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.058, allocations: 432.6 kB / 0.754 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/1.059, allocations: 188.6 kB / 0.7542 GB, free: 69.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (385): * Single equations (assignments): 382 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002162/1.061, allocations: 1.568 MB / 0.7557 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.061, allocations: 172.8 kB / 0.7559 GB, free: 68.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/1.061, allocations: 219.3 kB / 0.7561 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.061, allocations: 13.84 kB / 0.7561 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.061, allocations: 0 / 0.7561 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.061, allocations: 3.094 kB / 0.7561 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/1.068, allocations: 5.071 MB / 0.7611 GB, free: 66.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.068, allocations: 6.938 kB / 0.7611 GB, free: 66.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/1.068, allocations: 118.6 kB / 0.7612 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.068, allocations: 17.34 kB / 0.7612 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/1.068, allocations: 22.59 kB / 0.7612 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/1.068, allocations: 19.22 kB / 0.7613 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.068, allocations: 10.69 kB / 0.7613 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.07, allocations: 1.413 MB / 0.7627 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/1.07, allocations: 297 kB / 0.7629 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.07, allocations: 20.84 kB / 0.763 GB, free: 65.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/1.071, allocations: 34.66 kB / 0.763 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/1.071, allocations: 73.33 kB / 0.7631 GB, free: 65.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/1.071, allocations: 31.03 kB / 0.7631 GB, free: 65.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001569/1.073, allocations: 1.46 MB / 0.7645 GB, free: 64.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.073, allocations: 4 kB / 0.7645 GB, free: 64.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002582/1.075, allocations: 0.8193 MB / 0.7653 GB, free: 64.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002711/1.075, allocations: 148.9 kB / 0.7655 GB, free: 64.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/1.078, allocations: 2.122 MB / 0.7675 GB, free: 63.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.078, allocations: 0 / 0.7675 GB, free: 63.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/1.078, allocations: 0.4953 MB / 0.768 GB, free: 63.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.081, allocations: 278.1 kB / 0.7683 GB, free: 63.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009425/1.091, allocations: 7.232 MB / 0.7753 GB, free: 56.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/1.093, allocations: 2.608 MB / 0.7779 GB, free: 54.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002497/1.096, allocations: 1.041 MB / 0.7789 GB, free: 53.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/1.096, allocations: 138.7 kB / 0.779 GB, free: 53.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.654e-06/1.096, allocations: 0 / 0.779 GB, free: 53.41 MB / 490.7 MB Notification: Performance of Templates: time 0.03068/1.127, allocations: 15.94 MB / 0.7946 GB, free: 41.63 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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