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.001356/0.001356, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 80.16 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3955, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01278/0.4083, allocations: 10.11 MB / 0.5409 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009207/0.4176, allocations: 3.077 MB / 0.5439 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.4202, allocations: 57 kB / 0.5439 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005227/0.4255, allocations: 2.613 MB / 0.5465 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.4297, allocations: 1.179 MB / 0.5476 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4307, allocations: 339.3 kB / 0.5479 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.4345, allocations: 2.544 MB / 0.5504 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.4379, allocations: 2.997 MB / 0.5534 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.4397, allocations: 1.051 MB / 0.5544 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.4416, allocations: 1.375 MB / 0.5557 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004542/0.442, allocations: 252 kB / 0.556 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.4437, allocations: 0.7607 MB / 0.5567 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.4449, allocations: 1.337 MB / 0.558 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.4461, allocations: 1.553 MB / 0.5595 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005288/0.4514, allocations: 5.104 MB / 0.5645 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4515, allocations: 4 kB / 0.5645 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4515, allocations: 0 / 0.5645 GB, free: 15.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.515e-05/0.4516, allocations: 0 / 0.5645 GB, free: 15.28 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.005479/0.4571, allocations: 3.265 MB / 0.5677 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4571, allocations: 8.031 kB / 0.5677 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.4623, allocations: 1.611 MB / 0.5693 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.4647, allocations: 1.496 MB / 0.5707 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4649, allocations: 177 kB / 0.5709 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.4652, allocations: 235.8 kB / 0.5711 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.476, allocations: 7.114 MB / 0.5781 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.4761, allocations: 11.88 kB / 0.5781 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.4764, allocations: 111.8 kB / 0.5782 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.4785, allocations: 1.447 MB / 0.5796 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.4893, allocations: 5.959 MB / 0.5854 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.5176, allocations: 22.28 MB / 0.6072 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/0.5222, allocations: 2.191 MB / 0.6093 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5233, allocations: 0.7738 MB / 0.6101 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006222/0.5295, allocations: 3.848 MB / 0.6138 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5296, allocations: 39.12 kB / 0.6139 GB, free: 11.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.5296, allocations: 0 / 0.6139 GB, free: 11.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006029/0.5356, allocations: 2.251 MB / 0.6161 GB, free: 9.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5357, allocations: 59.97 kB / 0.6161 GB, free: 9.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.5383, allocations: 2.052 MB / 0.6181 GB, free: 7.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.5383, allocations: 37.7 kB / 0.6182 GB, free: 6.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.5396, allocations: 2.03 MB / 0.6202 GB, free: 4.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.5399, allocations: 339.7 kB / 0.6205 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/0.5407, allocations: 0.6545 MB / 0.6211 GB, free: 3.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5409, allocations: 365.9 kB / 0.6215 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.5421, allocations: 0.9352 MB / 0.6224 GB, free: 2.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.5448, allocations: 2.876 MB / 0.6252 GB, free: 14.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/0.549, allocations: 4.15 MB / 0.6293 GB, free: 9.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.542e-05/0.549, allocations: 20 kB / 0.6293 GB, free: 9.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005528/0.5546, allocations: 3.694 MB / 0.6329 GB, free: 5.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.5546, allocations: 36 kB / 0.6329 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.798e-05/0.5547, allocations: 68 kB / 0.633 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-05/0.5548, allocations: 88 kB / 0.6331 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.5572, allocations: 0.694 MB / 0.6337 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/0.5573, allocations: 127.5 kB / 0.6339 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.5596, allocations: 443.2 kB / 0.6343 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.5599, allocations: 196 kB / 0.6345 GB, free: 4.312 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.002676/0.5625, allocations: 1.515 MB / 0.6359 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/0.5629, allocations: 169.7 kB / 0.6361 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.5634, allocations: 210.2 kB / 0.6363 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.5634, allocations: 8 kB / 0.6363 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.5634, allocations: 4 kB / 0.6363 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5634, allocations: 3.984 kB / 0.6363 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.5706, allocations: 4.935 MB / 0.6411 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5706, allocations: 8 kB / 0.6412 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.571, allocations: 115.8 kB / 0.6413 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.5711, allocations: 12 kB / 0.6413 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.5711, allocations: 20 kB / 0.6413 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.5711, allocations: 19.92 kB / 0.6413 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.5712, allocations: 11.94 kB / 0.6413 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.5726, allocations: 1.414 MB / 0.6427 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.573, allocations: 282.3 kB / 0.643 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.5732, allocations: 27.92 kB / 0.643 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.5737, allocations: 39.89 kB / 0.643 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5738, allocations: 63.75 kB / 0.6431 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.5739, allocations: 36 kB / 0.6431 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001804/0.5757, allocations: 1.448 MB / 0.6445 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5757, allocations: 0 / 0.6445 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002717/0.5785, allocations: 0.7659 MB / 0.6453 GB, free: 8.879 MB / 0.4981 GB 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.0003351/0.5788, allocations: 150.9 kB / 0.6454 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.5819, allocations: 2.175 MB / 0.6476 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.5819, allocations: 0 / 0.6476 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.5825, allocations: 0.4982 MB / 0.6481 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5838, allocations: 282 kB / 0.6483 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008774/0.5925, allocations: 5.706 MB / 0.6539 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/0.5951, allocations: 2.514 MB / 0.6563 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002343/0.5975, allocations: 1.02 MB / 0.6573 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.5979, allocations: 135.4 kB / 0.6575 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/0.5979, allocations: 0 / 0.6575 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.03482/0.6327, allocations: 17.07 MB / 0.6741 GB, free: 11.2 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches