Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001403/0.001403, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001488/0.001488, allocations: 161 kB / 24.56 MB, free: 8 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 0.9934/0.9934, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2996/0.2996, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.797e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008678/0.008706, allocations: 9.223 MB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.01413, allocations: 2.881 MB / 390.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.01537, allocations: 55.81 kB / 390.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.01806, allocations: 2.138 MB / 392.3 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.0209, allocations: 1.175 MB / 393.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.02157, allocations: 323.2 kB / 393.8 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.0245, allocations: 2.36 MB / 396.2 MB, free: 416 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.0264, allocations: 1.797 MB / 398 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.02803, allocations: 1.286 MB / 399.3 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.02974, allocations: 1.181 MB / 400.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004255/0.03016, allocations: 196 kB / 400.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.0312, allocations: 0.6434 MB / 401.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009447/0.03214, allocations: 1.184 MB / 402.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008253/0.03297, allocations: 0.7241 MB / 403.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.03556, allocations: 2.724 MB / 405.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.03557, allocations: 0 / 405.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03557, allocations: 0 / 405.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.462e-05/0.03563, allocations: 0 / 405.9 MB, free: 6.609 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003664/0.0393, allocations: 3.126 MB / 409 MB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.03934, allocations: 12.03 kB / 409 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.04241, allocations: 1.867 MB / 410.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.04408, allocations: 1.238 MB / 412.2 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.04415, allocations: 144 kB / 412.3 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.04438, allocations: 188.3 kB / 412.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/0.04913, allocations: 3.313 MB / 415.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.04916, allocations: 11.88 kB / 415.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.04932, allocations: 87.91 kB / 415.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/0.05051, allocations: 1.34 MB / 417.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.05426, allocations: 1.804 MB / 419 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.07166, allocations: 20.57 MB / 439.6 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.07376, allocations: 0.9305 MB / 440.5 MB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.0741, allocations: 224 kB / 440.8 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.07728, allocations: 2.436 MB / 443.2 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.07731, allocations: 41.89 kB / 443.2 MB, free: 72 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.057e-06/0.07731, allocations: 0 / 443.2 MB, free: 72 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.171/0.2483, allocations: 1.281 MB / 444.5 MB, free: 94.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2483, allocations: 57.88 kB / 444.6 MB, free: 94.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.25, allocations: 1.803 MB / 446.4 MB, free: 94.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.25, allocations: 31.7 kB / 446.4 MB, free: 94.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/0.2507, allocations: 2.012 MB / 448.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2509, allocations: 345 kB / 448.8 MB, free: 93.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.2514, allocations: 0.6726 MB / 449.4 MB, free: 93.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.2514, allocations: 0.5175 MB / 449.9 MB, free: 92.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.2519, allocations: 292.9 kB / 450.2 MB, free: 92.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2531, allocations: 3.051 MB / 453.3 MB, free: 89.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.2551, allocations: 3.691 MB / 457 MB, free: 85.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.2551, allocations: 21.06 kB / 457 MB, free: 85.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002631/0.2578, allocations: 2.493 MB / 459.5 MB, free: 84.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2578, allocations: 39.59 kB / 459.5 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/0.2579, allocations: 66.25 kB / 459.6 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.118e-05/0.2579, allocations: 84.78 kB / 459.7 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.259, allocations: 0.6586 MB / 460.3 MB, free: 84.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.159e-05/0.259, allocations: 128.4 kB / 460.5 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.2601, allocations: 413.1 kB / 460.9 MB, free: 84.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.2602, allocations: 191.8 kB / 461 MB, free: 84.7 MB / 410.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.000662/0.2609, allocations: 418.3 kB / 461.5 MB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.261, allocations: 173.1 kB / 461.6 MB, free: 84.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.2611, allocations: 157.7 kB / 461.8 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.2612, allocations: 8.875 kB / 461.8 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2612, allocations: 6.359 kB / 461.8 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2612, allocations: 0 / 461.8 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.2643, allocations: 2.846 MB / 464.6 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2643, allocations: 3.188 kB / 464.6 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.2645, allocations: 100.6 kB / 464.7 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2645, allocations: 6.469 kB / 464.7 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.2646, allocations: 24.64 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2646, allocations: 6.594 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2646, allocations: 10.69 kB / 464.8 MB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.2652, allocations: 0.8634 MB / 465.6 MB, free: 82.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2654, allocations: 151.7 kB / 465.8 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.2655, allocations: 21.02 kB / 465.8 MB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2657, allocations: 22.94 kB / 465.8 MB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.2658, allocations: 54.3 kB / 465.9 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.2658, allocations: 33.83 kB / 465.9 MB, free: 82.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007624/0.2666, allocations: 0.7754 MB / 466.7 MB, free: 81.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2666, allocations: 0 / 466.7 MB, free: 81.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002145/0.2687, allocations: 0.7061 MB / 467.4 MB, free: 81.52 MB / 410.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.0002611/0.269, allocations: 149.8 kB / 467.6 MB, free: 81.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.2706, allocations: 1.252 MB / 468.8 MB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2706, allocations: 2.875 kB / 468.8 MB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.2708, allocations: 196.2 kB / 469 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.2714, allocations: 188.7 kB / 469.2 MB, free: 80.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.2762, allocations: 4.347 MB / 473.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.2767, allocations: 0.7646 MB / 474.3 MB, free: 78.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.2777, allocations: 0.7953 MB / 475.1 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.2779, allocations: 115.1 kB / 475.2 MB, free: 78.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2779, allocations: 4 kB / 475.2 MB, free: 78.11 MB / 410.7 MB Notification: Performance of Templates: time 0.02385/0.3018, allocations: 11.57 MB / 486.8 MB, free: 76.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.840384852141142]