Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001356/0.001356, allocations: 84.3 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.001484/0.001484, allocations: 170.7 kB / 23.95 MB, free: 4.172 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.465/1.465, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.217/0.217, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.348e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2178/0.2178, allocations: 8.917 MB / 451.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.2241, allocations: 2.943 MB / 454.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.2254, allocations: 59.94 kB / 454.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.2305, allocations: 2.663 MB / 457.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.2338, allocations: 1.248 MB / 458.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.2347, allocations: 373.9 kB / 458.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.2383, allocations: 2.592 MB / 461.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.2411, allocations: 2.25 MB / 463.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.2431, allocations: 1.55 MB / 465.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.2456, allocations: 1.34 MB / 466.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009691/0.2466, allocations: 251.1 kB / 466.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.2485, allocations: 0.6997 MB / 467.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.2499, allocations: 1.414 MB / 469 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.251, allocations: 0.876 MB / 469.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.256, allocations: 5.089 MB / 474.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.256, allocations: 1.219 kB / 474.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.256, allocations: 4 kB / 474.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.95e-05/0.2561, allocations: 0 / 474.9 MB, free: 3.363 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.005479/0.2616, allocations: 3.237 MB / 478.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2616, allocations: 9.719 kB / 478.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/0.2667, allocations: 1.64 MB / 479.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.2696, allocations: 1.449 MB / 481.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.2697, allocations: 174.9 kB / 481.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.2702, allocations: 235.3 kB / 481.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.2822, allocations: 7.119 MB / 488.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.824e-05/0.2822, allocations: 15.81 kB / 488.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.2825, allocations: 111.9 kB / 488.9 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/0.285, allocations: 1.448 MB / 490.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.2977, allocations: 5.948 MB / 496.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03621/0.3339, allocations: 20.3 MB / 0.5045 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.339, allocations: 1.767 MB / 0.5062 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3402, allocations: 0.7073 MB / 0.5069 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008765/0.349, allocations: 3.309 MB / 0.5101 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.754e-05/0.3491, allocations: 43.16 kB / 0.5102 GB, free: 5.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=87): time 4.238e-06/0.3491, allocations: 4 kB / 0.5102 GB, free: 5.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=87): time 0.007216/0.3563, allocations: 2.394 MB / 0.5125 GB, free: 2.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3563, allocations: 60.05 kB / 0.5126 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/0.3606, allocations: 2.013 MB / 0.5145 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.3607, allocations: 41.7 kB / 0.5146 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.363, allocations: 2.11 MB / 0.5166 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.3634, allocations: 349.4 kB / 0.517 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.3647, allocations: 0.6473 MB / 0.5176 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3649, allocations: 345.9 kB / 0.5179 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.3666, allocations: 0.9391 MB / 0.5189 GB, free: 12.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.3701, allocations: 2.868 MB / 0.5217 GB, free: 8.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00542/0.3756, allocations: 4.154 MB / 0.5257 GB, free: 3.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-05/0.3756, allocations: 20 kB / 0.5257 GB, free: 3.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006943/0.3826, allocations: 3.692 MB / 0.5293 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.3827, allocations: 46.47 kB / 0.5294 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.3828, allocations: 68 kB / 0.5294 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.3829, allocations: 88 kB / 0.5295 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3851, allocations: 0.6901 MB / 0.5302 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/0.3853, allocations: 135.4 kB / 0.5303 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.3875, allocations: 436.8 kB / 0.5307 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/0.3878, allocations: 196 kB / 0.5309 GB, free: 14.02 MB / 446.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.002749/0.3906, allocations: 1.5 MB / 0.5324 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.3909, allocations: 170.8 kB / 0.5326 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.3914, allocations: 205 kB / 0.5328 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.3914, allocations: 8 kB / 0.5328 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3914, allocations: 0 / 0.5328 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.3914, allocations: 3.984 kB / 0.5328 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008375/0.3998, allocations: 3.796 MB / 0.5365 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.3998, allocations: 8 kB / 0.5365 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.4003, allocations: 115.8 kB / 0.5366 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.4004, allocations: 8 kB / 0.5366 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.4004, allocations: 27.98 kB / 0.5366 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.4004, allocations: 12.5 kB / 0.5366 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.4005, allocations: 19.88 kB / 0.5367 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.4024, allocations: 1.375 MB / 0.538 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.4029, allocations: 162.7 kB / 0.5382 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.4032, allocations: 23.98 kB / 0.5382 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.4039, allocations: 27.98 kB / 0.5382 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.404, allocations: 67.72 kB / 0.5383 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.4041, allocations: 36 kB / 0.5383 GB, free: 6.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002084/0.4061, allocations: 1.155 MB / 0.5394 GB, free: 5.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 3.938 kB / 0.5394 GB, free: 5.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003326/0.4095, allocations: 0.8172 MB / 0.5402 GB, free: 4.203 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.0003857/0.4099, allocations: 147.4 kB / 0.5404 GB, free: 4.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4137, allocations: 2.082 MB / 0.5424 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.4137, allocations: 0 / 0.5424 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.4146, allocations: 489.7 kB / 0.5429 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.416, allocations: 211.4 kB / 0.5431 GB, free: 1.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.4295, allocations: 5.73 MB / 0.5487 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004389/0.4339, allocations: 1.961 MB / 0.5506 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002553/0.4365, allocations: 0.9905 MB / 0.5516 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.4369, allocations: 128.5 kB / 0.5517 GB, free: 8.32 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4369, allocations: 0 / 0.5517 GB, free: 8.32 MB / 462.1 MB Notification: Performance of Templates: time 0.03215/0.4691, allocations: 12.68 MB / 0.5641 GB, free: 11.84 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.535208318382502]