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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001936/0.001936, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 177 MB / 204.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3651/0.3651, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.584e-05, allocations: 6.25 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0127/0.01274, allocations: 8.925 MB / 386.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.01966, allocations: 2.936 MB / 389.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.02069, allocations: 55.88 kB / 389.1 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005601/0.02629, allocations: 2.718 MB / 391.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.02961, allocations: 1.248 MB / 393.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.03058, allocations: 375.1 kB / 393.4 MB, free: 2.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003844/0.03443, allocations: 2.598 MB / 396 MB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.0377, allocations: 2.308 MB / 398.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.04006, allocations: 1.552 MB / 399.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.04225, allocations: 1.336 MB / 401.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.04269, allocations: 248 kB / 401.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.04402, allocations: 0.702 MB / 402.2 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.04551, allocations: 1.418 MB / 403.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.04693, allocations: 0.8723 MB / 404.5 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006715/0.05364, allocations: 5.097 MB / 409.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.05365, allocations: 0 / 409.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.05365, allocations: 0 / 409.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001309/0.05378, allocations: 0 / 409.6 MB, free: 2.414 MB / 378.7 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.00762/0.0614, allocations: 3.231 MB / 412.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.06146, allocations: 19.97 kB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.06819, allocations: 2.008 MB / 414.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.07228, allocations: 1.458 MB / 416.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.07246, allocations: 181 kB / 416.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004693/0.07293, allocations: 228.3 kB / 416.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.08693, allocations: 7.126 MB / 423.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.081e-05/0.087, allocations: 11.88 kB / 423.8 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/0.08731, allocations: 111.9 kB / 423.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/0.08992, allocations: 1.443 MB / 425.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.1026, allocations: 5.945 MB / 431.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2223/0.3249, allocations: 20.36 MB / 451.7 MB, free: 86.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003969/0.3288, allocations: 1.76 MB / 453.4 MB, free: 86.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.3296, allocations: 0.7048 MB / 454.1 MB, free: 86.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005685/0.3353, allocations: 3.324 MB / 457.5 MB, free: 85.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3353, allocations: 38.16 kB / 457.5 MB, free: 85.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.3353, allocations: 2.359 kB / 457.5 MB, free: 85.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.005697/0.341, allocations: 2.419 MB / 459.9 MB, free: 84.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3411, allocations: 68 kB / 460 MB, free: 84.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.3436, allocations: 2.012 MB / 462 MB, free: 83.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.3437, allocations: 39.31 kB / 462 MB, free: 83.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.3449, allocations: 2.106 MB / 464.1 MB, free: 82.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.3451, allocations: 353.2 kB / 464.5 MB, free: 82.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007291/0.3458, allocations: 0.6495 MB / 465.1 MB, free: 81.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.3459, allocations: 344.8 kB / 465.5 MB, free: 81.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3471, allocations: 0.9347 MB / 466.4 MB, free: 81.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.3491, allocations: 2.87 MB / 469.3 MB, free: 78.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.3525, allocations: 4.147 MB / 473.4 MB, free: 74.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/0.3525, allocations: 21.88 kB / 473.5 MB, free: 74.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005183/0.3577, allocations: 3.862 MB / 477.3 MB, free: 73.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.3578, allocations: 36.78 kB / 477.4 MB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/0.3578, allocations: 67.25 kB / 477.4 MB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-05/0.3579, allocations: 91.34 kB / 477.5 MB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.3598, allocations: 0.6887 MB / 478.2 MB, free: 73.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.775e-05/0.3599, allocations: 134.1 kB / 478.3 MB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.3621, allocations: 440.3 kB / 478.8 MB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.3624, allocations: 195.1 kB / 478.9 MB, free: 72.95 MB / 410.7 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.00263/0.365, allocations: 1.5 MB / 480.4 MB, free: 72.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.3654, allocations: 188 kB / 480.6 MB, free: 72.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.3658, allocations: 200.4 kB / 480.8 MB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.3658, allocations: 14.28 kB / 480.8 MB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.3658, allocations: 0 / 480.8 MB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3658, allocations: 6.984 kB / 480.8 MB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.3721, allocations: 3.79 MB / 484.6 MB, free: 70.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.3721, allocations: 7.75 kB / 484.6 MB, free: 70.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.3725, allocations: 118.6 kB / 484.8 MB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.3725, allocations: 10.44 kB / 484.8 MB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.3726, allocations: 25 kB / 484.8 MB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.3726, allocations: 23.12 kB / 484.8 MB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.3726, allocations: 14.62 kB / 484.8 MB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3744, allocations: 1.385 MB / 486.2 MB, free: 69.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.3747, allocations: 161 kB / 486.4 MB, free: 69.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3749, allocations: 19.34 kB / 486.4 MB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.3754, allocations: 38.39 kB / 486.4 MB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3755, allocations: 73.05 kB / 486.5 MB, free: 69.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.3756, allocations: 32.03 kB / 486.5 MB, free: 69.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001755/0.3773, allocations: 1.155 MB / 487.7 MB, free: 69.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3773, allocations: 0 / 487.7 MB, free: 69.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003459/0.3808, allocations: 0.8126 MB / 488.5 MB, free: 68.86 MB / 410.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.0003481/0.3811, allocations: 152 kB / 488.6 MB, free: 68.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.3843, allocations: 2.086 MB / 490.7 MB, free: 68.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3843, allocations: 0 / 490.7 MB, free: 68.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3848, allocations: 487.1 kB / 491.2 MB, free: 67.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.386, allocations: 221.2 kB / 491.4 MB, free: 67.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.3938, allocations: 5.842 MB / 497.3 MB, free: 65.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.3958, allocations: 1.948 MB / 499.2 MB, free: 64.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002074/0.3979, allocations: 0.9908 MB / 0.4885 GB, free: 64.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.3982, allocations: 125.6 kB / 0.4886 GB, free: 64.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3982, allocations: 0 / 0.4886 GB, free: 64.34 MB / 410.7 MB Notification: Performance of Templates: time 0.0255/0.4237, allocations: 12.77 MB / 0.5011 GB, free: 55.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.621153624961153]