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.001132/0.001132, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009473/0.0009473, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.9007/0.9007, allocations: 158.6 MB / 186 MB, free: 2.918 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.1353/0.1353, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 1.323e-06/1.323e-06, allocations: 0 / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.728e-05, allocations: 6.25 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008073/0.008091, allocations: 12.11 MB / 359.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.01451, allocations: 3.295 MB / 363.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008555/0.01537, allocations: 67.81 kB / 363.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.0181, allocations: 2.843 MB / 366 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.01999, allocations: 1.443 MB / 367.4 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.02058, allocations: 391 kB / 367.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.02347, allocations: 2.925 MB / 370.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.02533, allocations: 2.527 MB / 373.3 MB, free: 64 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.02674, allocations: 1.785 MB / 375 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.02831, allocations: 1.633 MB / 376.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.02856, allocations: 296 kB / 377 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.02936, allocations: 0.7334 MB / 377.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009261/0.03028, allocations: 1.671 MB / 379.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007307/0.03101, allocations: 1.036 MB / 380.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.03404, allocations: 3.697 MB / 384.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.03404, allocations: 0 / 384.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.03404, allocations: 0 / 384.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.03408, allocations: 0 / 384.1 MB, free: 5.188 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.003861/0.03794, allocations: 4.082 MB / 388.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.03799, allocations: 12.02 kB / 388.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003962/0.04195, allocations: 2.128 MB / 390.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.04365, allocations: 1.543 MB / 391.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.04376, allocations: 201.6 kB / 392.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.04403, allocations: 268.2 kB / 392.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/0.04917, allocations: 4.353 MB / 396.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.04921, allocations: 19.81 kB / 396.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.04942, allocations: 119.9 kB / 396.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001524/0.05095, allocations: 1.764 MB / 398.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.05509, allocations: 2.397 MB / 401 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.07372, allocations: 25.73 MB / 426.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.07679, allocations: 1.176 MB / 427.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/0.0774, allocations: 338.8 kB / 428.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004769/0.08217, allocations: 3.042 MB / 431.3 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.0822, allocations: 46.39 kB / 431.3 MB, free: 4.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.986e-06/0.0822, allocations: 3.938 kB / 431.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.005145/0.08735, allocations: 1.729 MB / 433 MB, free: 2.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.0874, allocations: 68.41 kB / 433.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.08965, allocations: 2.011 MB / 435.1 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.08971, allocations: 41.7 kB / 435.1 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.09101, allocations: 2.518 MB / 437.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.09134, allocations: 492.3 kB / 438.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009526/0.09229, allocations: 0.8132 MB / 439 MB, free: 12.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.09246, allocations: 0.5277 MB / 439.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/0.0933, allocations: 383 kB / 439.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.09595, allocations: 3.574 MB / 443.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.09977, allocations: 4.359 MB / 447.8 MB, free: 1.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.679e-05/0.09981, allocations: 23.94 kB / 447.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.1994/0.2992, allocations: 3.026 MB / 450.8 MB, free: 99.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.2992, allocations: 37.44 kB / 450.9 MB, free: 99.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.2994, allocations: 80.05 kB / 451 MB, free: 99.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.3026, allocations: 102.5 kB / 451.1 MB, free: 99.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.305, allocations: 0.8163 MB / 451.9 MB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001521/0.3052, allocations: 148.3 kB / 452 MB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.3084, allocations: 491.5 kB / 452.5 MB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/0.3088, allocations: 230.8 kB / 452.7 MB, free: 99.48 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.006967/0.3158, allocations: 464.8 kB / 453.2 MB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.3162, allocations: 220.9 kB / 453.4 MB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3174, allocations: 0.764 MB / 454.2 MB, free: 99.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.3174, allocations: 18.31 kB / 454.2 MB, free: 99.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3174, allocations: 3.938 kB / 454.2 MB, free: 99.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3174, allocations: 4.5 kB / 454.2 MB, free: 99.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007263/0.3247, allocations: 4.32 MB / 458.5 MB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.3247, allocations: 14.12 kB / 458.5 MB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.3255, allocations: 194.8 kB / 458.7 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.161e-05/0.3255, allocations: 18.22 kB / 458.7 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.3256, allocations: 43 kB / 458.8 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/0.3256, allocations: 31.23 kB / 458.8 MB, free: 97.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.3256, allocations: 23.31 kB / 458.8 MB, free: 97.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.3275, allocations: 1.489 MB / 460.3 MB, free: 96.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.3279, allocations: 202 kB / 460.5 MB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.3282, allocations: 35.92 kB / 460.5 MB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.3289, allocations: 50.67 kB / 460.6 MB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.3291, allocations: 111 kB / 460.7 MB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/0.3292, allocations: 51.08 kB / 460.8 MB, free: 96.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001515/0.3307, allocations: 0.8731 MB / 461.6 MB, free: 96.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3307, allocations: 0 / 461.6 MB, free: 96.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003425/0.3341, allocations: 0.9716 MB / 462.6 MB, free: 96.36 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.0003305/0.3344, allocations: 173.1 kB / 462.8 MB, free: 96.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.3367, allocations: 1.602 MB / 464.4 MB, free: 95.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.3367, allocations: 4.125 kB / 464.4 MB, free: 95.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.3371, allocations: 338.6 kB / 464.7 MB, free: 94.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.338, allocations: 250.2 kB / 464.9 MB, free: 94.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.3448, allocations: 6.151 MB / 471.1 MB, free: 88.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.3456, allocations: 1.023 MB / 472.1 MB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001391/0.347, allocations: 0.977 MB / 473.1 MB, free: 87.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.3472, allocations: 148.5 kB / 473.2 MB, free: 87.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3472, allocations: 4 kB / 473.2 MB, free: 87.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02367/0.3709, allocations: 14.88 MB / 488.1 MB, free: 72.67 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.5337316470686346]