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.001029/0.001029, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001162/0.001162, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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.012/1.012, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2804/0.2804, allocations: 32.8 MB / 294.3 MB, free: 1.219 MB / 266.7 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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 4 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.972e-05, allocations: 5.406 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007951/0.007971, allocations: 9.803 MB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.0126, allocations: 3.029 MB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.0132, allocations: 59.81 kB / 388.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.01594, allocations: 2.796 MB / 391.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.01745, allocations: 1.252 MB / 393 MB, free: 3.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.01793, allocations: 383.1 kB / 393.3 MB, free: 3.277 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.01983, allocations: 2.586 MB / 395.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.02152, allocations: 2.312 MB / 398.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.02261, allocations: 1.555 MB / 399.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.02372, allocations: 1.372 MB / 401.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.02397, allocations: 255.9 kB / 401.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.02472, allocations: 0.6981 MB / 402.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007738/0.02549, allocations: 1.422 MB / 403.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006394/0.02613, allocations: 0.8839 MB / 404.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.02833, allocations: 3.16 MB / 407.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.02833, allocations: 0 / 407.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02833, allocations: 0 / 407.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.02837, allocations: 0 / 407.6 MB, free: 4.969 MB / 378.7 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.003131/0.0315, allocations: 3.567 MB / 411.1 MB, free: 1.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.03154, allocations: 8.031 kB / 411.1 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.03454, allocations: 1.957 MB / 413.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.03607, allocations: 1.383 MB / 414.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.03616, allocations: 181 kB / 414.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.03639, allocations: 232.3 kB / 414.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.04058, allocations: 3.77 MB / 418.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.04061, allocations: 15.88 kB / 418.7 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.04079, allocations: 103.9 kB / 418.8 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.042, allocations: 1.455 MB / 420.2 MB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.04576, allocations: 2.029 MB / 422.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/0.2154, allocations: 22.49 MB / 444.7 MB, free: 90.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.2184, allocations: 1.006 MB / 445.7 MB, free: 90.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.2189, allocations: 243.4 kB / 446 MB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/0.2227, allocations: 2.67 MB / 448.7 MB, free: 89.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2227, allocations: 42.86 kB / 448.7 MB, free: 89.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 5.12e-06/0.2227, allocations: 0.625 kB / 448.7 MB, free: 89.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003245/0.2259, allocations: 1.493 MB / 450.2 MB, free: 89.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.226, allocations: 62.41 kB / 450.3 MB, free: 89.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.2279, allocations: 1.873 MB / 452.1 MB, free: 89.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2279, allocations: 36.61 kB / 452.2 MB, free: 89.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009324/0.2288, allocations: 2.208 MB / 454.4 MB, free: 88.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.2291, allocations: 374.3 kB / 454.7 MB, free: 88.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/0.2297, allocations: 0.7059 MB / 455.4 MB, free: 87.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.2298, allocations: 0.5256 MB / 456 MB, free: 87.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.2303, allocations: 312.7 kB / 456.3 MB, free: 87.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.2316, allocations: 3.168 MB / 459.4 MB, free: 83.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.2338, allocations: 3.831 MB / 463.3 MB, free: 80.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-05/0.2339, allocations: 19.47 kB / 463.3 MB, free: 80.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002978/0.2369, allocations: 2.619 MB / 465.9 MB, free: 79.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.2369, allocations: 36.41 kB / 465.9 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.404e-05/0.237, allocations: 69.31 kB / 466 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.2371, allocations: 89.75 kB / 466.1 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.2382, allocations: 0.6915 MB / 466.8 MB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-05/0.2383, allocations: 133.2 kB / 466.9 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.2395, allocations: 435.6 kB / 467.3 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.2397, allocations: 195.1 kB / 467.5 MB, free: 79.14 MB / 410.7 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.0009097/0.2406, allocations: 435 kB / 468 MB, free: 78.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2408, allocations: 187.4 kB / 468.1 MB, free: 78.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.2409, allocations: 168.1 kB / 468.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.2409, allocations: 9.938 kB / 468.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.2409, allocations: 3.938 kB / 468.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2409, allocations: 3.375 kB / 468.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.2452, allocations: 3.316 MB / 471.6 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2452, allocations: 9.188 kB / 471.6 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.2454, allocations: 113.3 kB / 471.8 MB, free: 76.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2455, allocations: 12.16 kB / 471.8 MB, free: 76.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2455, allocations: 19.22 kB / 471.8 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.2455, allocations: 16.78 kB / 471.8 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.2455, allocations: 13.38 kB / 471.8 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.2462, allocations: 0.9946 MB / 472.8 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.2464, allocations: 169 kB / 473 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.2465, allocations: 19.53 kB / 473 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.2467, allocations: 32.25 kB / 473 MB, free: 76.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.2468, allocations: 65.95 kB / 473.1 MB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2468, allocations: 42.09 kB / 473.1 MB, free: 76.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007545/0.2476, allocations: 0.807 MB / 473.9 MB, free: 75.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2476, allocations: 0 / 473.9 MB, free: 75.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002043/0.2496, allocations: 0.8035 MB / 474.7 MB, free: 75.43 MB / 410.7 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.0002818/0.2499, allocations: 154.1 kB / 474.9 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.2517, allocations: 1.33 MB / 476.2 MB, free: 74.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.2517, allocations: 3 kB / 476.2 MB, free: 74.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.2519, allocations: 225.9 kB / 476.4 MB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.2527, allocations: 220.2 kB / 476.7 MB, free: 74.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.2599, allocations: 5.02 MB / 481.7 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.2607, allocations: 0.8704 MB / 482.6 MB, free: 71.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001421/0.2621, allocations: 0.8522 MB / 483.4 MB, free: 71.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2624, allocations: 124.7 kB / 483.5 MB, free: 71.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2624, allocations: 0 / 483.5 MB, free: 71.54 MB / 410.7 MB Notification: Performance of Templates: time 0.02443/0.2868, allocations: 12.65 MB / 496.2 MB, free: 70.06 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] 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","",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.6673818109557033]