Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 164.9 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.688e-05, allocations: 5.234 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2003/0.2004, allocations: 8.91 MB / 449 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005928/0.2063, allocations: 2.939 MB / 451.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.2075, allocations: 61.09 kB / 452 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.2123, allocations: 2.665 MB / 454.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.2157, allocations: 1.245 MB / 455.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.2167, allocations: 377.5 kB / 456.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004009/0.2207, allocations: 2.588 MB / 458.9 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.2239, allocations: 2.252 MB / 461.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.2264, allocations: 1.55 MB / 462.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.2284, allocations: 1.339 MB / 464 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.2289, allocations: 251.3 kB / 464.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.2304, allocations: 0.6986 MB / 464.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.2316, allocations: 1.409 MB / 466.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.2327, allocations: 0.8788 MB / 467.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.2375, allocations: 5.097 MB / 472.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2375, allocations: 0 / 472.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2375, allocations: 0 / 472.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.2376, allocations: 4 kB / 472.3 MB, free: 6.348 MB / 366.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.005559/0.2432, allocations: 3.233 MB / 475.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2432, allocations: 13.56 kB / 475.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.2487, allocations: 1.639 MB / 477.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.2523, allocations: 1.455 MB / 478.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2524, allocations: 176.6 kB / 478.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005976/0.253, allocations: 230.7 kB / 479.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.2654, allocations: 7.123 MB / 486.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.2654, allocations: 19.8 kB / 486.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.2657, allocations: 107.9 kB / 486.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.2681, allocations: 1.443 MB / 487.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.2804, allocations: 5.942 MB / 493.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03586/0.3163, allocations: 20.31 MB / 0.502 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.3213, allocations: 1.771 MB / 0.5037 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3225, allocations: 0.7034 MB / 0.5044 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007603/0.3301, allocations: 3.305 MB / 0.5076 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3302, allocations: 43.16 kB / 0.5076 GB, free: 9.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=87): time 4.168e-06/0.3302, allocations: 0 / 0.5076 GB, free: 9.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=87): time 0.00706/0.3373, allocations: 2.398 MB / 0.51 GB, free: 6.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3373, allocations: 60.06 kB / 0.51 GB, free: 6.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.341, allocations: 2.017 MB / 0.512 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.3411, allocations: 37.7 kB / 0.5121 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/0.3429, allocations: 2.11 MB / 0.5141 GB, free: 2.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/0.3434, allocations: 353.3 kB / 0.5145 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.3445, allocations: 0.6434 MB / 0.5151 GB, free: 1.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3447, allocations: 353.9 kB / 0.5154 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.3463, allocations: 0.9313 MB / 0.5163 GB, free: 276 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.3496, allocations: 2.876 MB / 0.5191 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/0.3548, allocations: 4.15 MB / 0.5232 GB, free: 7.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-05/0.3549, allocations: 23.94 kB / 0.5232 GB, free: 7.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006887/0.3618, allocations: 3.688 MB / 0.5268 GB, free: 3.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.3619, allocations: 40.12 kB / 0.5269 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.362, allocations: 72 kB / 0.5269 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.3622, allocations: 91.94 kB / 0.527 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.3644, allocations: 0.694 MB / 0.5277 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/0.3646, allocations: 135.4 kB / 0.5278 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.3668, allocations: 428.9 kB / 0.5282 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.3672, allocations: 199.9 kB / 0.5284 GB, free: 1.961 MB / 430.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.003031/0.3702, allocations: 1.496 MB / 0.5299 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.3706, allocations: 166.8 kB / 0.53 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.371, allocations: 209 kB / 0.5302 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.3711, allocations: 11.94 kB / 0.5302 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3711, allocations: 0 / 0.5302 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.3711, allocations: 3.984 kB / 0.5302 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008899/0.38, allocations: 3.784 MB / 0.5339 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.38, allocations: 11.94 kB / 0.534 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.3805, allocations: 123.7 kB / 0.5341 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.3805, allocations: 8 kB / 0.5341 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.3806, allocations: 24 kB / 0.5341 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.3806, allocations: 15.92 kB / 0.5341 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.3806, allocations: 16.41 kB / 0.5341 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3826, allocations: 1.378 MB / 0.5355 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.3831, allocations: 166.7 kB / 0.5356 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.3835, allocations: 16 kB / 0.5357 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.3842, allocations: 35.91 kB / 0.5357 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.3843, allocations: 63.73 kB / 0.5357 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.3844, allocations: 35.98 kB / 0.5358 GB, free: 10.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002087/0.3865, allocations: 1.159 MB / 0.5369 GB, free: 8.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 0.5369 GB, free: 8.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003316/0.3898, allocations: 0.8094 MB / 0.5377 GB, free: 8.152 MB / 446.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.0004039/0.3902, allocations: 151.4 kB / 0.5379 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.3939, allocations: 2.083 MB / 0.5399 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.3939, allocations: 4.062 kB / 0.5399 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.3947, allocations: 481.7 kB / 0.5403 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.3962, allocations: 229.2 kB / 0.5406 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.4086, allocations: 5.734 MB / 0.5462 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/0.4121, allocations: 1.95 MB / 0.5481 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002391/0.4145, allocations: 0.9944 MB / 0.549 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.4149, allocations: 128.5 kB / 0.5492 GB, free: 12.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4149, allocations: 0 / 0.5492 GB, free: 12.26 MB / 462.1 MB Notification: Performance of Templates: time 0.03083/0.4457, allocations: 12.68 MB / 0.5615 GB, free: 15.77 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.241576984524727]