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.001134/0.001134, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.002713, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001019/0.001019, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002462, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 1.051/1.051, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1941/1.245, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1581/0.1581, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02845/0.1866, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.414e-06/2.414e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.567e-05, allocations: 6.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01268/0.0127, allocations: 11.98 MB / 279.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007999/0.0207, allocations: 3.457 MB / 282.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.0223, allocations: 71.81 kB / 282.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.02517, allocations: 2.694 MB / 285.6 MB, free: 292 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1933/0.2184, allocations: 1.432 MB / 287 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.2193, allocations: 363.6 kB / 287.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.2231, allocations: 2.768 MB / 290.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.2259, allocations: 2.489 MB / 292.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.228, allocations: 1.846 MB / 294.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.2299, allocations: 1.543 MB / 296 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.2303, allocations: 297.4 kB / 296.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2319, allocations: 0.7513 MB / 297.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.2335, allocations: 1.49 MB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.2348, allocations: 0.852 MB / 299.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.2389, allocations: 3.458 MB / 302.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.2389, allocations: 0 / 302.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2389, allocations: 3.219 kB / 302.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.2389, allocations: 0 / 302.9 MB, free: 15.07 MB / 298.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.004759/0.2437, allocations: 4.297 MB / 307.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2437, allocations: 11.89 kB / 307.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.247, allocations: 0.9526 MB / 308.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.2489, allocations: 1.316 MB / 309.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.249, allocations: 205.3 kB / 309.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/0.2494, allocations: 264.1 kB / 309.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.2547, allocations: 3.733 MB / 313.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/0.2548, allocations: 17.66 kB / 313.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.2551, allocations: 123 kB / 313.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.2569, allocations: 1.521 MB / 315.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.2606, allocations: 1.959 MB / 317.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.2791, allocations: 18.84 MB / 336.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.2821, allocations: 1.112 MB / 337.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.2825, allocations: 230.3 kB / 337.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004024/0.2865, allocations: 2.523 MB / 339.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2865, allocations: 47.5 kB / 340 MB, free: 12.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 3.066e-06/0.2865, allocations: 0 / 340 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.004102/0.2907, allocations: 1.387 MB / 341.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2907, allocations: 64.41 kB / 341.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.2921, allocations: 1.609 MB / 343 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.2922, allocations: 49.69 kB / 343.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.2934, allocations: 2.332 MB / 345.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.2937, allocations: 475.7 kB / 345.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/0.2945, allocations: 0.7071 MB / 346.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2946, allocations: 353.5 kB / 346.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.295, allocations: 283.2 kB / 347.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.2968, allocations: 2.513 MB / 349.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.3001, allocations: 3.566 MB / 353.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/0.3002, allocations: 20 kB / 353.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.002879/0.303, allocations: 2.387 MB / 355.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.3031, allocations: 39.94 kB / 355.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-05/0.3032, allocations: 84.09 kB / 355.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.155e-05/0.3032, allocations: 108 kB / 355.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.3047, allocations: 0.9164 MB / 356.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.321e-05/0.3048, allocations: 155.4 kB / 357 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3059, allocations: 480.4 kB / 357.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.3061, allocations: 197.8 kB / 357.7 MB, free: 10.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 357 * Number of states: 0 () * Number of discrete variables: 30 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 457 * 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 prepare postOptimizeDAE: time 0.0008505/0.3069, allocations: 425.2 kB / 358.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3071, allocations: 127.8 kB / 358.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.3077, allocations: 0.5851 MB / 358.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3078, allocations: 8 kB / 358.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3078, allocations: 0 / 358.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3078, allocations: 11.97 kB / 358.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.3114, allocations: 3.073 MB / 361.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.3114, allocations: 20 kB / 361.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.3118, allocations: 199.6 kB / 362.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.312, allocations: 197.2 kB / 362.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.312, allocations: 23.98 kB / 362.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.3121, allocations: 39.98 kB / 362.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/0.3121, allocations: 36.33 kB / 362.4 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.3121, allocations: 23.94 kB / 362.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.313, allocations: 1.169 MB / 363.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3131, allocations: 36 kB / 363.6 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.3134, allocations: 35.03 kB / 363.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3136, allocations: 115.5 kB / 363.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.3136, allocations: 43.98 kB / 363.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005082/0.3141, allocations: 0.6172 MB / 364.4 MB, free: 3.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3141, allocations: 0 / 364.4 MB, free: 3.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00206/0.3162, allocations: 0.9846 MB / 365.4 MB, free: 2.117 MB / 346.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.0003486/0.3165, allocations: 160.3 kB / 365.6 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.3179, allocations: 1.492 MB / 367 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.512e-05/0.318, allocations: 65.61 kB / 367.1 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.3189, allocations: 0.8008 MB / 367.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.3202, allocations: 1.24 MB / 369.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.3271, allocations: 6.226 MB / 375.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.328, allocations: 1.004 MB / 376.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006168/0.3286, allocations: 293 kB / 376.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.329, allocations: 315.2 kB / 377 MB, free: 6.207 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.329, allocations: 0 / 377 MB, free: 6.207 MB / 362.7 MB Notification: Performance of Templates: time 0.02628/0.3553, allocations: 13.13 MB / 390.1 MB, free: 9.098 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4358039405196905]