Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.001045/0.001045, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00116/0.00116, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9757/0.9757, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2797/0.2797, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.228e-05, allocations: 6.25 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01072/0.01074, allocations: 14.41 MB / 390.4 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.01777, allocations: 4.956 MB / 395.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01884, allocations: 143.3 kB / 395.5 MB, free: 1.406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.02465, allocations: 6.418 MB / 401.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.0291, allocations: 2.912 MB / 404.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.03124, allocations: 1.789 MB / 406.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007344/0.03858, allocations: 9.122 MB / 415.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00609/0.04467, allocations: 6.584 MB / 422.3 MB, free: 6.438 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.05009, allocations: 4.51 MB / 426.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.0539, allocations: 4.447 MB / 431.3 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006639/0.05457, allocations: 0.5898 MB / 431.9 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.05625, allocations: 1.362 MB / 433.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.05873, allocations: 3.822 MB / 437.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.0606, allocations: 2.29 MB / 439.3 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1773/0.2379, allocations: 7.58 MB / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2379, allocations: 0 / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2379, allocations: 0 / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004811/0.2384, allocations: 0 / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01181/0.2502, allocations: 9.307 MB / 456.2 MB, free: 64.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2503, allocations: 9.812 kB / 456.2 MB, free: 64.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/0.2561, allocations: 3.347 MB / 459.6 MB, free: 63.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.2602, allocations: 4.062 MB / 463.7 MB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.2603, allocations: 412.9 kB / 464.1 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005989/0.2609, allocations: 0.5404 MB / 464.6 MB, free: 62.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.2718, allocations: 10.4 MB / 475 MB, free: 58.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.272, allocations: 70.17 kB / 475.1 MB, free: 58.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.2724, allocations: 260.4 kB / 475.3 MB, free: 58.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.2749, allocations: 2.928 MB / 478.3 MB, free: 57.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.2862, allocations: 5.23 MB / 483.5 MB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04515/0.3314, allocations: 72.18 MB / 0.5426 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.339, allocations: 3.608 MB / 0.5462 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009533/0.3399, allocations: 0.766 MB / 0.5469 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008027/0.348, allocations: 6.331 MB / 0.5531 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.348, allocations: 54.7 kB / 0.5531 GB, free: 8.461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.266e-06/0.348, allocations: 4 kB / 0.5532 GB, free: 8.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02161/0.3696, allocations: 13.16 MB / 0.566 GB, free: 11.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3697, allocations: 156.5 kB / 0.5662 GB, free: 11.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/0.3755, allocations: 5.53 MB / 0.5716 GB, free: 5.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3757, allocations: 53.7 kB / 0.5716 GB, free: 5.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003271/0.3789, allocations: 5.503 MB / 0.577 GB, free: 184 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/0.3795, allocations: 0.8713 MB / 0.5778 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.3811, allocations: 1.818 MB / 0.5796 GB, free: 13.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3812, allocations: 476.8 kB / 0.5801 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.3828, allocations: 0.7854 MB / 0.5808 GB, free: 12.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/0.3885, allocations: 8.695 MB / 0.5893 GB, free: 15.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008076/0.3965, allocations: 10.48 MB / 0.5996 GB, free: 2.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.816e-05/0.3966, allocations: 55.94 kB / 0.5996 GB, free: 2.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1658/0.5625, allocations: 7.051 MB / 0.6065 GB, free: 137.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5626, allocations: 88.88 kB / 0.6066 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/0.5628, allocations: 190.4 kB / 0.6068 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.5629, allocations: 257.7 kB / 0.607 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.5664, allocations: 1.931 MB / 0.6089 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002447/0.5666, allocations: 366.6 kB / 0.6092 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/0.5706, allocations: 0.6395 MB / 0.6099 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004391/0.5711, allocations: 0.5169 MB / 0.6104 GB, free: 137 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001855/0.5729, allocations: 0.8713 MB / 0.6112 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/0.5735, allocations: 0.5611 MB / 0.6118 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.5739, allocations: 497.5 kB / 0.6122 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.5739, allocations: 26.38 kB / 0.6123 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.574, allocations: 0 / 0.6123 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.574, allocations: 9.516 kB / 0.6123 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009956/0.5839, allocations: 9.278 MB / 0.6213 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/0.584, allocations: 39.22 kB / 0.6214 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.5846, allocations: 381.3 kB / 0.6217 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/0.5846, allocations: 49.03 kB / 0.6218 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.5847, allocations: 87.75 kB / 0.6219 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/0.5847, allocations: 76.94 kB / 0.6219 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/0.5847, allocations: 58.69 kB / 0.622 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.5868, allocations: 3.609 MB / 0.6255 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.5874, allocations: 0.567 MB / 0.6261 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.5878, allocations: 92.38 kB / 0.6262 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.589, allocations: 229 kB / 0.6264 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.5892, allocations: 264.7 kB / 0.6266 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.5893, allocations: 108.2 kB / 0.6267 GB, free: 131 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002619/0.592, allocations: 2.412 MB / 0.6291 GB, free: 130.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.592, allocations: 0 / 0.6291 GB, free: 130.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004873/0.5968, allocations: 1.493 MB / 0.6306 GB, free: 130.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.000361/0.5972, allocations: 261.5 kB / 0.6308 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.6016, allocations: 3.599 MB / 0.6343 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/0.6017, allocations: 3.562 kB / 0.6343 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.6023, allocations: 0.6409 MB / 0.6349 GB, free: 129.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.6048, allocations: 0.7982 MB / 0.6357 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.6194, allocations: 13.36 MB / 0.6488 GB, free: 121.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.621, allocations: 2.084 MB / 0.6508 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003121/0.6241, allocations: 2.169 MB / 0.6529 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/0.6246, allocations: 344.8 kB / 0.6533 GB, free: 119.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6246, allocations: 0 / 0.6533 GB, free: 119.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05046/0.6751, allocations: 33.38 MB / 0.6859 GB, free: 91.27 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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: 4.7150471929926425]