Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001309/0.001309, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009716/0.0009716, allocations: 161 kB / 24.56 MB, free: 16 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.9758/0.9758, allocations: 177.1 MB / 205 MB, free: 5.637 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.2543/0.2543, allocations: 32.8 MB / 294.3 MB, free: 1.199 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.104e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007904/0.007935, allocations: 9.227 MB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.01261, allocations: 2.869 MB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.01316, allocations: 55.81 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.01541, allocations: 2.142 MB / 390.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.01727, allocations: 1.175 MB / 391.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.01772, allocations: 323.2 kB / 391.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.01952, allocations: 2.364 MB / 394.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.02081, allocations: 1.805 MB / 396 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.0217, allocations: 1.294 MB / 397.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.0229, allocations: 1.177 MB / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.02309, allocations: 200 kB / 398.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.02378, allocations: 0.6357 MB / 399.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.02443, allocations: 1.188 MB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.02494, allocations: 0.7163 MB / 401.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.02685, allocations: 2.72 MB / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.02686, allocations: 0 / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02686, allocations: 0 / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.02688, allocations: 0 / 403.9 MB, free: 8.629 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.002939/0.02982, allocations: 3.138 MB / 407 MB, free: 5.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.02986, allocations: 12.03 kB / 407 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.03272, allocations: 1.875 MB / 408.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.03406, allocations: 1.215 MB / 410.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.03413, allocations: 144 kB / 410.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.03433, allocations: 188.3 kB / 410.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.03815, allocations: 3.317 MB / 413.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.03819, allocations: 11.88 kB / 413.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.03833, allocations: 87.91 kB / 413.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/0.03951, allocations: 1.344 MB / 415.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.04272, allocations: 1.802 MB / 417 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.0569, allocations: 20.58 MB / 437.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.05881, allocations: 0.9267 MB / 438.5 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.05913, allocations: 217.9 kB / 438.7 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003199/0.06233, allocations: 2.439 MB / 441.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.06235, allocations: 45.89 kB / 441.2 MB, free: 2.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 1.933e-06/0.06236, allocations: 0 / 441.2 MB, free: 2.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002556/0.06491, allocations: 1.288 MB / 442.5 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.06494, allocations: 59.91 kB / 442.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1523/0.2172, allocations: 1.792 MB / 444.4 MB, free: 96.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.2174, allocations: 36.48 kB / 444.4 MB, free: 96.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007941/0.2182, allocations: 2.014 MB / 446.4 MB, free: 95.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.2184, allocations: 334.9 kB / 446.7 MB, free: 95.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.2189, allocations: 0.6728 MB / 447.4 MB, free: 95.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.219, allocations: 0.521 MB / 447.9 MB, free: 94.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.2195, allocations: 290.3 kB / 448.2 MB, free: 94.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.2206, allocations: 3.055 MB / 451.3 MB, free: 91.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.2228, allocations: 3.681 MB / 454.9 MB, free: 87.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/0.2229, allocations: 19.88 kB / 455 MB, free: 87.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002711/0.2256, allocations: 2.497 MB / 457.5 MB, free: 86.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.2256, allocations: 32.78 kB / 457.5 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-05/0.2257, allocations: 67.59 kB / 457.6 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.41e-05/0.2257, allocations: 86.97 kB / 457.6 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2267, allocations: 0.6581 MB / 458.3 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.144e-05/0.2268, allocations: 131 kB / 458.4 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009912/0.2278, allocations: 416.4 kB / 458.8 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.228, allocations: 185.8 kB / 459 MB, free: 86.64 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.0006559/0.2286, allocations: 413.8 kB / 459.4 MB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2287, allocations: 176.9 kB / 459.6 MB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.2289, allocations: 164.2 kB / 459.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.2289, allocations: 8.938 kB / 459.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2289, allocations: 3.625 kB / 459.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2289, allocations: 7.328 kB / 459.8 MB, free: 86.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.2318, allocations: 2.837 MB / 462.6 MB, free: 85.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2318, allocations: 6.5 kB / 462.6 MB, free: 85.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.232, allocations: 96.34 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.2321, allocations: 10.86 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2321, allocations: 17.45 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.2321, allocations: 10 kB / 462.8 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2321, allocations: 10.59 kB / 462.8 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.2327, allocations: 0.8674 MB / 463.6 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2328, allocations: 158.2 kB / 463.8 MB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.2328, allocations: 13.62 kB / 463.8 MB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.233, allocations: 27.42 kB / 463.8 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.2331, allocations: 54.61 kB / 463.9 MB, free: 84.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.2331, allocations: 22.19 kB / 463.9 MB, free: 84.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006067/0.2337, allocations: 0.7812 MB / 464.7 MB, free: 84.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2337, allocations: 4 kB / 464.7 MB, free: 84.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001424/0.2352, allocations: 0.7069 MB / 465.4 MB, free: 83.92 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.0002369/0.2354, allocations: 144.8 kB / 465.5 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.2367, allocations: 1.248 MB / 466.8 MB, free: 83.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2367, allocations: 3.406 kB / 466.8 MB, free: 83.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2369, allocations: 199.8 kB / 467 MB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2375, allocations: 190.3 kB / 467.2 MB, free: 83.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.2416, allocations: 4.354 MB / 471.5 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.2421, allocations: 0.7591 MB / 472.3 MB, free: 80.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001031/0.2432, allocations: 0.7976 MB / 473.1 MB, free: 80.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2433, allocations: 112.4 kB / 473.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2433, allocations: 0 / 473.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01961/0.2629, allocations: 11.56 MB / 484.7 MB, free: 79.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.623104856349528]