Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001273/0.001273, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001505/0.001505, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9296/0.9296, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1535/0.1535, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.529e-05, allocations: 12.16 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01/0.01004, allocations: 12.15 MB / 359.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.01571, allocations: 3.307 MB / 363.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01676, allocations: 67.81 kB / 363.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.02049, allocations: 2.854 MB / 366 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.0229, allocations: 1.446 MB / 367.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.02357, allocations: 391 kB / 367.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.02629, allocations: 2.923 MB / 370.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.02848, allocations: 2.519 MB / 373.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.03007, allocations: 1.789 MB / 375.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.03163, allocations: 1.633 MB / 376.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.03197, allocations: 296 kB / 377 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.03298, allocations: 0.7334 MB / 377.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.03411, allocations: 1.667 MB / 379.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008998/0.03501, allocations: 1.036 MB / 380.5 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.03833, allocations: 3.693 MB / 384.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.03834, allocations: 0 / 384.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03834, allocations: 0 / 384.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.03836, allocations: 0 / 384.2 MB, free: 4.797 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.004654/0.04302, allocations: 4.09 MB / 388.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.04306, allocations: 8.031 kB / 388.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.04771, allocations: 2.135 MB / 390.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.04982, allocations: 1.531 MB / 391.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.04996, allocations: 205.6 kB / 392.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.05033, allocations: 269.5 kB / 392.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006438/0.05677, allocations: 4.357 MB / 396.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.05682, allocations: 11.88 kB / 396.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.05708, allocations: 119.9 kB / 396.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.05907, allocations: 1.772 MB / 398.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.0649, allocations: 2.397 MB / 401 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02188/0.08678, allocations: 25.72 MB / 426.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.08911, allocations: 1.184 MB / 427.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.08956, allocations: 334.8 kB / 428.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003987/0.09355, allocations: 3.049 MB / 431.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.09357, allocations: 46.39 kB / 431.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.205e-06/0.09358, allocations: 0 / 431.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.003319/0.0969, allocations: 1.736 MB / 433.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.09693, allocations: 60.41 kB / 433.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.09859, allocations: 2.011 MB / 435.2 MB, free: 344 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.09864, allocations: 41.7 kB / 435.2 MB, free: 296 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.1, allocations: 2.522 MB / 437.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.1003, allocations: 492.3 kB / 438.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006602/0.101, allocations: 0.8053 MB / 439 MB, free: 12.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1011, allocations: 0.5277 MB / 439.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.1017, allocations: 387 kB / 439.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.104, allocations: 3.57 MB / 443.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.1074, allocations: 4.359 MB / 447.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.427e-05/0.1075, allocations: 20 kB / 447.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.1666/0.274, allocations: 3.031 MB / 450.9 MB, free: 94.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.2741, allocations: 37.66 kB / 450.9 MB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.2742, allocations: 83.58 kB / 451 MB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.2744, allocations: 104.6 kB / 451.1 MB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.2764, allocations: 0.8157 MB / 451.9 MB, free: 94.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001371/0.2766, allocations: 148.1 kB / 452.1 MB, free: 94.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.2786, allocations: 494.6 kB / 452.6 MB, free: 94.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.2789, allocations: 225.2 kB / 452.8 MB, free: 94.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.001262/0.2802, allocations: 458.7 kB / 453.2 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.2805, allocations: 220 kB / 453.4 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2819, allocations: 0.7714 MB / 454.2 MB, free: 94.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.2819, allocations: 12.84 kB / 454.2 MB, free: 94.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2819, allocations: 0 / 454.2 MB, free: 94.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2819, allocations: 2.391 kB / 454.2 MB, free: 94.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007717/0.2897, allocations: 4.332 MB / 458.6 MB, free: 92.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.2897, allocations: 19.52 kB / 458.6 MB, free: 92.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.2902, allocations: 185.4 kB / 458.8 MB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.2902, allocations: 18.91 kB / 458.8 MB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/0.2903, allocations: 39.22 kB / 458.8 MB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.885e-05/0.2903, allocations: 34.2 kB / 458.9 MB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.2903, allocations: 25.22 kB / 458.9 MB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.2917, allocations: 1.488 MB / 460.4 MB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.292, allocations: 201.1 kB / 460.6 MB, free: 91.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.2922, allocations: 41.64 kB / 460.6 MB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.2927, allocations: 46 kB / 460.6 MB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2928, allocations: 119.9 kB / 460.8 MB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.2929, allocations: 51.88 kB / 460.8 MB, free: 91.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009903/0.2939, allocations: 0.8641 MB / 461.7 MB, free: 91.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2939, allocations: 0 / 461.7 MB, free: 91.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002863/0.2967, allocations: 0.9813 MB / 462.7 MB, free: 91.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0003175/0.2971, allocations: 167.8 kB / 462.8 MB, free: 91.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.2996, allocations: 1.602 MB / 464.4 MB, free: 90.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2996, allocations: 0 / 464.4 MB, free: 90.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3001, allocations: 336.3 kB / 464.8 MB, free: 90.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3012, allocations: 248.1 kB / 465 MB, free: 90.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/0.3091, allocations: 6.161 MB / 471.2 MB, free: 85.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.31, allocations: 1.03 MB / 472.2 MB, free: 84.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001385/0.3113, allocations: 0.9766 MB / 473.2 MB, free: 84.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.3116, allocations: 152.5 kB / 473.3 MB, free: 83.87 MB / 378.7 MB Notification: Performance of SimCode: time 6.783e-06/0.3116, allocations: 0 / 473.3 MB, free: 83.87 MB / 378.7 MB Notification: Performance of Templates: time 0.02301/0.3346, allocations: 14.87 MB / 488.2 MB, free: 69.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.808630083221942]