Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.0009849/0.0009849, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001022/0.001022, allocations: 170.5 kB / 24.91 MB, free: 9.188 MB / 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 0.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2415/0.2415, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.679e-05, allocations: 12.7 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008362/0.008379, allocations: 9.046 MB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.0121, allocations: 2.958 MB / 335.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.01247, allocations: 55.81 kB / 335.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.01441, allocations: 2.106 MB / 337.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01565, allocations: 1.159 MB / 338.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.01624, allocations: 315.2 kB / 338.9 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.01775, allocations: 2.216 MB / 341.1 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.01893, allocations: 1.844 MB / 343 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008138/0.01975, allocations: 1.302 MB / 344.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/0.02057, allocations: 1.11 MB / 345.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.02074, allocations: 196 kB / 345.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.02184, allocations: 0.6591 MB / 346.2 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.02243, allocations: 1.184 MB / 347.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.02287, allocations: 0.728 MB / 348.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.02456, allocations: 2.72 MB / 350.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.02456, allocations: 0 / 350.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02456, allocations: 0 / 350.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.02458, allocations: 0 / 350.9 MB, free: 13.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002397/0.02697, allocations: 2.678 MB / 353.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.027, allocations: 12.03 kB / 353.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.02882, allocations: 0.7421 MB / 354.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.0298, allocations: 1.057 MB / 355.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.02987, allocations: 144 kB / 355.5 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.03006, allocations: 196.2 kB / 355.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.03264, allocations: 2.837 MB / 358.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.03268, allocations: 15.86 kB / 358.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.03282, allocations: 91.91 kB / 358.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009375/0.03376, allocations: 1.192 MB / 359.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.03586, allocations: 1.516 MB / 361.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.04651, allocations: 15.27 MB / 376.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.04836, allocations: 0.9035 MB / 377.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.04857, allocations: 156.8 kB / 377.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00249/0.05106, allocations: 2.122 MB / 379.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.0511, allocations: 50.94 kB / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.0511, allocations: 0 / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002254/0.05335, allocations: 1.09 MB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.05338, allocations: 59.91 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.05429, allocations: 1.42 MB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.05432, allocations: 33.7 kB / 382.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.05506, allocations: 1.842 MB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.05521, allocations: 325.5 kB / 384.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.05562, allocations: 0.5801 MB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.05571, allocations: 345.9 kB / 385.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.05604, allocations: 310.2 kB / 385.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.05708, allocations: 2.091 MB / 387.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.05898, allocations: 2.75 MB / 390.6 MB, free: 3.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.059, allocations: 20 kB / 390.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00179/0.06079, allocations: 1.964 MB / 392.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.06082, allocations: 32 kB / 392.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.06086, allocations: 64 kB / 392.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-05/0.06092, allocations: 88 kB / 392.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.06196, allocations: 0.6713 MB / 393.5 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.776e-05/0.06201, allocations: 131.5 kB / 393.6 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/0.06287, allocations: 397.1 kB / 394 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/0.06326, allocations: 168 kB / 394.2 MB, free: 15.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.0004621/0.06372, allocations: 373.6 kB / 394.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.06381, allocations: 87.84 kB / 394.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.06395, allocations: 172 kB / 394.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.06396, allocations: 8 kB / 394.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.06397, allocations: 0 / 394.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.06397, allocations: 0 / 394.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.06589, allocations: 1.871 MB / 396.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.0659, allocations: 8.734 kB / 396.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.06609, allocations: 91.84 kB / 396.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.0661, allocations: 12 kB / 396.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.06612, allocations: 16 kB / 396.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.06613, allocations: 15.92 kB / 396.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.06614, allocations: 7.938 kB / 396.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.06661, allocations: 0.6174 MB / 397.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.06672, allocations: 142.8 kB / 397.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.0668, allocations: 23.97 kB / 397.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.067, allocations: 16 kB / 397.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.06706, allocations: 51.81 kB / 397.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.06709, allocations: 27.94 kB / 397.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004304/0.06752, allocations: 0.5448 MB / 398.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06752, allocations: 0 / 398.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001396/0.06892, allocations: 0.7084 MB / 398.9 MB, free: 10.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002191/0.06914, allocations: 132 kB / 399.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.07015, allocations: 1.101 MB / 400.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.249e-05/0.07022, allocations: 47.94 kB / 400.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.07038, allocations: 159 kB / 400.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.07094, allocations: 204.7 kB / 400.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.07537, allocations: 4.462 MB / 405 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.07593, allocations: 0.7541 MB / 405.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004948/0.07643, allocations: 246.6 kB / 406 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.07674, allocations: 267.3 kB / 406.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07674, allocations: 0 / 406.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of Templates: time 0.01992/0.09666, allocations: 12.47 MB / 418.8 MB, free: 6.836 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.0887056859210134]