Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000993/0.000993, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00108/0.00108, allocations: 161 kB / 24.56 MB, free: 20 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.9417/0.9417, allocations: 177.1 MB / 205 MB, free: 5.297 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.2543/0.2543, allocations: 34.26 MB / 295.7 MB, free: 0.7305 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.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.436e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01441/0.01443, allocations: 14.45 MB / 392.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008596/0.02303, allocations: 4.976 MB / 397.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.02568, allocations: 143.3 kB / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007425/0.03311, allocations: 6.437 MB / 404 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007017/0.04013, allocations: 2.908 MB / 407 MB, free: 5.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.04348, allocations: 1.793 MB / 408.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009668/0.05315, allocations: 9.13 MB / 417.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007561/0.06071, allocations: 6.588 MB / 424.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007979/0.06869, allocations: 4.503 MB / 429 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006844/0.07554, allocations: 4.451 MB / 433.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.07799, allocations: 0.5859 MB / 434 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.08122, allocations: 1.369 MB / 435.4 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003351/0.08457, allocations: 3.822 MB / 439.2 MB, free: 5.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.08706, allocations: 2.286 MB / 441.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1705/0.2576, allocations: 7.583 MB / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2576, allocations: 0 / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2576, allocations: 0 / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002968/0.2579, allocations: 0 / 449.1 MB, free: 67.02 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.01199/0.2699, allocations: 9.302 MB / 458.4 MB, free: 63.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2699, allocations: 9.25 kB / 458.4 MB, free: 63.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/0.2774, allocations: 3.343 MB / 461.7 MB, free: 63.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004953/0.2823, allocations: 4.071 MB / 465.8 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.2826, allocations: 410.3 kB / 466.2 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/0.2832, allocations: 0.5411 MB / 466.7 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.2959, allocations: 10.4 MB / 477.1 MB, free: 57.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.2961, allocations: 68.39 kB / 477.2 MB, free: 57.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005083/0.2966, allocations: 260.3 kB / 477.5 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/0.2999, allocations: 2.934 MB / 480.4 MB, free: 57.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3154, allocations: 5.226 MB / 485.6 MB, free: 56.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/0.3653, allocations: 72.18 MB / 0.5447 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.3724, allocations: 3.608 MB / 0.5482 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008973/0.3733, allocations: 0.7692 MB / 0.549 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007417/0.3807, allocations: 6.324 MB / 0.5552 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.3807, allocations: 59.14 kB / 0.5552 GB, free: 6.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.847e-06/0.3807, allocations: 0 / 0.5552 GB, free: 6.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02085/0.4016, allocations: 13.17 MB / 0.5681 GB, free: 9.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.4017, allocations: 157.8 kB / 0.5682 GB, free: 9.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/0.4067, allocations: 5.523 MB / 0.5736 GB, free: 3.922 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/0.4068, allocations: 61.06 kB / 0.5737 GB, free: 3.859 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/0.4094, allocations: 5.498 MB / 0.5791 GB, free: 14.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.41, allocations: 0.8685 MB / 0.5799 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.4115, allocations: 1.824 MB / 0.5817 GB, free: 11.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4116, allocations: 476.8 kB / 0.5821 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4127, allocations: 0.7886 MB / 0.5829 GB, free: 10.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.4173, allocations: 8.694 MB / 0.5914 GB, free: 14.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007089/0.4244, allocations: 10.48 MB / 0.6016 GB, free: 320 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.4245, allocations: 52 kB / 0.6017 GB, free: 268 kB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1793/0.6038, allocations: 7.044 MB / 0.6086 GB, free: 133.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.6039, allocations: 89.25 kB / 0.6087 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.604, allocations: 189.7 kB / 0.6088 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.6042, allocations: 253.8 kB / 0.6091 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.6072, allocations: 1.936 MB / 0.611 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002049/0.6074, allocations: 371.6 kB / 0.6113 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/0.6109, allocations: 0.634 MB / 0.6119 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/0.6113, allocations: 0.5139 MB / 0.6124 GB, free: 133 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.001885/0.6132, allocations: 0.8705 MB / 0.6133 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/0.6137, allocations: 0.5656 MB / 0.6138 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.6141, allocations: 496 kB / 0.6143 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6141, allocations: 21.44 kB / 0.6143 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6142, allocations: 6.375 kB / 0.6143 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6142, allocations: 6.703 kB / 0.6144 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.6242, allocations: 9.27 MB / 0.6234 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.6242, allocations: 37.75 kB / 0.6234 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.625, allocations: 383.5 kB / 0.6238 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.342e-05/0.625, allocations: 54.12 kB / 0.6239 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.6251, allocations: 84.28 kB / 0.6239 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.617e-05/0.6252, allocations: 75.44 kB / 0.624 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.325e-05/0.6252, allocations: 63.75 kB / 0.6241 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.6277, allocations: 3.609 MB / 0.6276 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/0.6283, allocations: 0.579 MB / 0.6282 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.6287, allocations: 93.06 kB / 0.6282 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6299, allocations: 223.4 kB / 0.6285 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.6301, allocations: 268.2 kB / 0.6287 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.6303, allocations: 109.6 kB / 0.6288 GB, free: 127 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002985/0.6333, allocations: 2.407 MB / 0.6312 GB, free: 126.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6333, allocations: 0 / 0.6312 GB, free: 126.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005502/0.6388, allocations: 1.492 MB / 0.6326 GB, free: 126.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.0004325/0.6392, allocations: 265.1 kB / 0.6329 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004275/0.6435, allocations: 3.598 MB / 0.6364 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/0.6435, allocations: 7.5 kB / 0.6364 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.6441, allocations: 0.6419 MB / 0.637 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.6466, allocations: 0.7963 MB / 0.6378 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.6606, allocations: 13.36 MB / 0.6509 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.6624, allocations: 2.088 MB / 0.6529 GB, free: 114.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004171/0.6666, allocations: 2.166 MB / 0.655 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.6672, allocations: 337.1 kB / 0.6553 GB, free: 113.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6672, allocations: 0 / 0.6553 GB, free: 113.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05767/0.7249, allocations: 33.36 MB / 0.6879 GB, free: 85.13 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.713980287779123]