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.00107/0.00107, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 15.92 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.55 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2533/0.3712, allocations: 36.76 MB / 0.5083 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.3887, allocations: 7.586 MB / 0.5157 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007962/0.3967, allocations: 157.3 kB / 0.5159 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.3981, allocations: 319.6 kB / 0.5162 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.4022, allocations: 1.115 MB / 0.5172 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.4036, allocations: 328.4 kB / 0.5176 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007213/0.4108, allocations: 3.767 MB / 0.5212 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006849/0.4177, allocations: 4.176 MB / 0.5253 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.4195, allocations: 0.7174 MB / 0.526 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.4218, allocations: 1.163 MB / 0.5272 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.4224, allocations: 98.5 kB / 0.5272 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.4243, allocations: 0.642 MB / 0.5279 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.4258, allocations: 1.164 MB / 0.529 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.4274, allocations: 1.351 MB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.4315, allocations: 3.96 MB / 0.5342 GB, free: 3.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4315, allocations: 3.938 kB / 0.5342 GB, free: 3.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4315, allocations: 0 / 0.5342 GB, free: 3.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001324/0.4317, allocations: 0 / 0.5342 GB, free: 3.117 MB / 382.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.005382/0.4371, allocations: 2.667 MB / 0.5368 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4371, allocations: 10.16 kB / 0.5368 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.442, allocations: 1.649 MB / 0.5384 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.4445, allocations: 1.472 MB / 0.5399 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.4446, allocations: 184.9 kB / 0.54 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/0.4452, allocations: 233.4 kB / 0.5403 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.4569, allocations: 7.116 MB / 0.5472 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.403e-05/0.457, allocations: 11.88 kB / 0.5472 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.4575, allocations: 106.4 kB / 0.5473 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/0.4598, allocations: 1.444 MB / 0.5487 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.4713, allocations: 5.954 MB / 0.5545 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.5033, allocations: 22.47 MB / 0.5765 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.5081, allocations: 2.193 MB / 0.5786 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.5092, allocations: 0.7684 MB / 0.5794 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006732/0.516, allocations: 3.862 MB / 0.5831 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.5161, allocations: 35.12 kB / 0.5832 GB, free: 4.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 4.388e-06/0.5161, allocations: 0 / 0.5832 GB, free: 4.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006169/0.5223, allocations: 2.252 MB / 0.5854 GB, free: 2.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.5223, allocations: 59.97 kB / 0.5854 GB, free: 2.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.5259, allocations: 2.052 MB / 0.5874 GB, free: 148 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.526, allocations: 37.7 kB / 0.5875 GB, free: 104 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.5276, allocations: 2.026 MB / 0.5895 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.528, allocations: 344.2 kB / 0.5898 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/0.5284, allocations: 296.5 kB / 0.5901 GB, free: 13.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5286, allocations: 361.9 kB / 0.5904 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.5301, allocations: 0.9391 MB / 0.5913 GB, free: 12.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.5328, allocations: 2.864 MB / 0.5941 GB, free: 8.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.5374, allocations: 4.154 MB / 0.5982 GB, free: 3.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-05/0.5375, allocations: 20 kB / 0.5982 GB, free: 3.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006281/0.5438, allocations: 3.698 MB / 0.6018 GB, free: 15.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.5439, allocations: 40.06 kB / 0.6019 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.544, allocations: 71.94 kB / 0.6019 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.5441, allocations: 88 kB / 0.602 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.5462, allocations: 0.6862 MB / 0.6027 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.5463, allocations: 131.5 kB / 0.6028 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.5485, allocations: 438.3 kB / 0.6032 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/0.5489, allocations: 196 kB / 0.6034 GB, free: 13.84 MB / 462.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.002658/0.5515, allocations: 1.503 MB / 0.6049 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.5519, allocations: 169.8 kB / 0.605 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.5524, allocations: 214.2 kB / 0.6052 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.5524, allocations: 15.44 kB / 0.6053 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5524, allocations: 3.938 kB / 0.6053 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.5524, allocations: 3.984 kB / 0.6053 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/0.5616, allocations: 4.933 MB / 0.6101 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.5616, allocations: 15.88 kB / 0.6101 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.5621, allocations: 119.8 kB / 0.6102 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.5621, allocations: 8 kB / 0.6102 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.5622, allocations: 26.42 kB / 0.6102 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.5622, allocations: 15.92 kB / 0.6103 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/0.5623, allocations: 11.94 kB / 0.6103 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.564, allocations: 1.398 MB / 0.6116 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.5646, allocations: 294.4 kB / 0.6119 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.565, allocations: 19.98 kB / 0.6119 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.5657, allocations: 39.8 kB / 0.612 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5658, allocations: 71.69 kB / 0.612 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/0.5659, allocations: 39.11 kB / 0.6121 GB, free: 4.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002713/0.5686, allocations: 1.452 MB / 0.6135 GB, free: 3.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5687, allocations: 0 / 0.6135 GB, free: 3.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003329/0.572, allocations: 0.7619 MB / 0.6142 GB, free: 2.418 MB / 462.1 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.0004209/0.5724, allocations: 150.2 kB / 0.6144 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.576, allocations: 2.15 MB / 0.6165 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.576, allocations: 0 / 0.6165 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.5767, allocations: 0.4974 MB / 0.617 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.5804, allocations: 258.6 kB / 0.6172 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.5953, allocations: 7.617 MB / 0.6247 GB, free: 7.625 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/0.6, allocations: 2.518 MB / 0.6271 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006482/0.6007, allocations: 155.4 kB / 0.6273 GB, free: 4.926 MB / 478.1 MB Notification: Performance of SimCode: time 1.784e-06/0.6007, allocations: 4 kB / 0.6273 GB, free: 4.922 MB / 478.1 MB Notification: Performance of Templates: time 0.04944/0.6501, allocations: 32.91 MB / 0.6594 GB, free: 4.047 MB / 0.4981 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