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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.001997, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007149/0.0007149, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001814, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9393/0.9393, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2171/1.156, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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.1981/0.1981, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02041/0.2185, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.302e-06/1.302e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.335e-05, allocations: 4.984 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007939/0.007953, allocations: 10.05 MB / 295.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.01305, allocations: 3.203 MB / 299.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006536/0.01371, allocations: 63.81 kB / 299.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.01642, allocations: 2.652 MB / 301.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.01795, allocations: 1.291 MB / 303.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.01842, allocations: 363.1 kB / 303.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.02016, allocations: 2.472 MB / 305.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.02165, allocations: 2.344 MB / 308.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.02297, allocations: 1.675 MB / 309.9 MB, free: 188 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.02395, allocations: 1.337 MB / 311.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.02416, allocations: 260 kB / 311.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.02487, allocations: 0.7177 MB / 312.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006814/0.02555, allocations: 1.344 MB / 313.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.02609, allocations: 0.7556 MB / 314.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.02842, allocations: 3.102 MB / 317.5 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.02843, allocations: 4 kB / 317.5 MB, free: 8.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02843, allocations: 0 / 317.5 MB, free: 8.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.02846, allocations: 0 / 317.5 MB, free: 8.648 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.003701/0.03216, allocations: 3.898 MB / 321.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.0322, allocations: 8.031 kB / 321.4 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.03513, allocations: 0.8631 MB / 322.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.03728, allocations: 1.225 MB / 323.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.03745, allocations: 193 kB / 323.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/0.03796, allocations: 236.3 kB / 323.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1415/0.1795, allocations: 3.356 MB / 327.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.876e-05/0.1795, allocations: 15.47 kB / 327.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.1798, allocations: 108.6 kB / 327.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.1814, allocations: 1.338 MB / 328.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.1865, allocations: 1.754 MB / 330.4 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.2007, allocations: 17.01 MB / 347.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.2025, allocations: 0.9555 MB / 348.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.2027, allocations: 172.1 kB / 348.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/0.2054, allocations: 2.235 MB / 350.8 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2054, allocations: 42.38 kB / 350.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.936e-06/0.2054, allocations: 1.281 kB / 350.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.002524/0.2079, allocations: 1.239 MB / 352.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.2079, allocations: 56.56 kB / 352.2 MB, free: 6.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.209, allocations: 1.515 MB / 353.7 MB, free: 5.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.209, allocations: 44.16 kB / 353.7 MB, free: 5.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.2095, allocations: 2.122 MB / 355.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.2097, allocations: 351.8 kB / 356.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.21, allocations: 0.6317 MB / 356.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.2101, allocations: 352.3 kB / 357.2 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2103, allocations: 234.3 kB / 357.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.2111, allocations: 2.268 MB / 359.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.2135, allocations: 3.203 MB / 362.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/0.2135, allocations: 26.91 kB / 362.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.002135/0.2157, allocations: 2.116 MB / 365 MB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.2157, allocations: 37 kB / 365 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.276e-05/0.2158, allocations: 76 kB / 365.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.13e-05/0.2159, allocations: 100 kB / 365.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.2172, allocations: 0.7849 MB / 366 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.365e-05/0.2172, allocations: 143.4 kB / 366.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.2184, allocations: 420.5 kB / 366.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.2186, allocations: 180 kB / 366.7 MB, free: 8.348 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 34 (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],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.001026/0.2196, allocations: 395.4 kB / 367.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2197, allocations: 99.83 kB / 367.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.2199, allocations: 177.3 kB / 367.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2199, allocations: 8 kB / 367.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2199, allocations: 0 / 367.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2199, allocations: 7.922 kB / 367.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.2228, allocations: 2.272 MB / 369.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.2228, allocations: 12 kB / 369.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2231, allocations: 123.8 kB / 369.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2232, allocations: 161 kB / 370 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.2232, allocations: 15.98 kB / 370 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2232, allocations: 20 kB / 370 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.2232, allocations: 19.88 kB / 370 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.2233, allocations: 12.36 kB / 370 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.2238, allocations: 0.7118 MB / 370.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.2239, allocations: 24.44 kB / 370.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2241, allocations: 16 kB / 370.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.2242, allocations: 71.66 kB / 370.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.2243, allocations: 28 kB / 370.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004812/0.2247, allocations: 0.5911 MB / 371.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2247, allocations: 0 / 371.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002211/0.2269, allocations: 0.8585 MB / 372.3 MB, free: 2.812 MB / 330.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.0002927/0.2272, allocations: 130.8 kB / 372.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.2287, allocations: 1.266 MB / 373.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001069/0.2288, allocations: 54.2 kB / 373.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2292, allocations: 241.3 kB / 374 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.2308, allocations: 1.287 MB / 375.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.2383, allocations: 5.501 MB / 380.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.2395, allocations: 0.895 MB / 381.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006687/0.2402, allocations: 255 kB / 381.9 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.2405, allocations: 284.5 kB / 382.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2405, allocations: 0 / 382.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of Templates: time 0.02639/0.2669, allocations: 11.27 MB / 393.5 MB, free: 13.62 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.268465803936124]