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.001595/0.001595, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001586/0.001586, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3413/0.3413, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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 2.675e-06/2.675e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.653e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01173/0.01176, allocations: 14.08 MB / 392.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009497/0.02126, allocations: 4.933 MB / 397.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.02345, allocations: 143.2 kB / 397.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006255/0.0297, allocations: 6.336 MB / 404 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006072/0.03577, allocations: 2.927 MB / 406.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.0384, allocations: 1.782 MB / 408.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.04843, allocations: 9.14 MB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00631/0.05474, allocations: 6.592 MB / 424.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.05997, allocations: 4.546 MB / 429 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.06422, allocations: 4.458 MB / 433.4 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008049/0.06503, allocations: 0.582 MB / 434 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.06709, allocations: 1.365 MB / 435.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.06946, allocations: 3.818 MB / 439.2 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.07133, allocations: 2.298 MB / 441.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2135/0.2848, allocations: 7.583 MB / 449.1 MB, free: 67.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2849, allocations: 1.641 kB / 449.1 MB, free: 67.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2849, allocations: 0.5312 kB / 449.1 MB, free: 67.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004047/0.2853, allocations: 0.5625 kB / 449.1 MB, free: 67.42 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.01063/0.2959, allocations: 8.721 MB / 457.8 MB, free: 64.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.2959, allocations: 11.5 kB / 457.8 MB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3008, allocations: 2.354 MB / 460.2 MB, free: 63.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.3046, allocations: 3.773 MB / 463.9 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.3048, allocations: 412.3 kB / 464.3 MB, free: 62.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005146/0.3053, allocations: 0.5428 MB / 464.9 MB, free: 62.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008802/0.3141, allocations: 9.273 MB / 474.2 MB, free: 58.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-05/0.3142, allocations: 69.22 kB / 474.2 MB, free: 58.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.3146, allocations: 264.8 kB / 474.5 MB, free: 58.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.3164, allocations: 2.676 MB / 477.2 MB, free: 58.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/0.3237, allocations: 3.977 MB / 481.1 MB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07014/0.3939, allocations: 70.94 MB / 0.5391 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.4048, allocations: 3.278 MB / 0.5423 GB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.4068, allocations: 0.6658 MB / 0.543 GB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.4226, allocations: 6.019 MB / 0.5489 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/0.4227, allocations: 54.08 kB / 0.5489 GB, free: 13.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 8.436e-06/0.4227, allocations: 0 / 0.5489 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.0282/0.4509, allocations: 7.947 MB / 0.5567 GB, free: 7.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.451, allocations: 161 kB / 0.5568 GB, free: 7.098 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007237/0.4583, allocations: 5.472 MB / 0.5622 GB, free: 2.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005887/0.4589, allocations: 59.34 kB / 0.5622 GB, free: 2.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004857/0.4637, allocations: 5.549 MB / 0.5676 GB, free: 13.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/0.4653, allocations: 0.8742 MB / 0.5685 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002666/0.468, allocations: 1.856 MB / 0.5703 GB, free: 10.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4681, allocations: 479.9 kB / 0.5708 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4695, allocations: 0.6994 MB / 0.5715 GB, free: 9.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007027/0.4766, allocations: 8.661 MB / 0.5799 GB, free: 13.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009016/0.4856, allocations: 10.3 MB / 0.59 GB, free: 372 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002398/0.4858, allocations: 56 kB / 0.59 GB, free: 316 kB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01465/0.5005, allocations: 6.598 MB / 0.5965 GB, free: 9.711 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.5006, allocations: 91.98 kB / 0.5966 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/0.5009, allocations: 192.1 kB / 0.5967 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.5011, allocations: 252 kB / 0.597 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/0.5059, allocations: 1.883 MB / 0.5988 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003416/0.5063, allocations: 374.3 kB / 0.5992 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006832/0.5131, allocations: 367.6 kB / 0.5995 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/0.5149, allocations: 464 kB / 0.6 GB, free: 6.129 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.003663/0.5185, allocations: 0.8625 MB / 0.6008 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.5201, allocations: 0.5621 MB / 0.6014 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.5213, allocations: 498 kB / 0.6018 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.5213, allocations: 27.77 kB / 0.6019 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.5214, allocations: 11.94 kB / 0.6019 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.5214, allocations: 7.969 kB / 0.6019 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2385/0.7599, allocations: 9.177 MB / 0.6108 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-05/0.7599, allocations: 41.66 kB / 0.6109 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.7607, allocations: 363.2 kB / 0.6112 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.018e-05/0.7607, allocations: 50.09 kB / 0.6113 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.7608, allocations: 85.7 kB / 0.6114 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-05/0.7609, allocations: 76.81 kB / 0.6114 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/0.7609, allocations: 58.56 kB / 0.6115 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.7643, allocations: 3.525 MB / 0.6149 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/0.7661, allocations: 0.5526 MB / 0.6155 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008007/0.7669, allocations: 93.16 kB / 0.6156 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.7683, allocations: 76.03 kB / 0.6156 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.7686, allocations: 264.2 kB / 0.6159 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.7687, allocations: 95.25 kB / 0.616 GB, free: 132.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004041/0.7727, allocations: 2.232 MB / 0.6182 GB, free: 132.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7727, allocations: 0 / 0.6182 GB, free: 132.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007507/0.7802, allocations: 1.491 MB / 0.6196 GB, free: 132.2 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.0008002/0.781, allocations: 266.1 kB / 0.6199 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005617/0.7867, allocations: 3.418 MB / 0.6232 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-05/0.7867, allocations: 9.5 kB / 0.6232 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.7878, allocations: 0.6095 MB / 0.6238 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/0.7928, allocations: 0.7998 MB / 0.6246 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.819, allocations: 13.35 MB / 0.6376 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00598/0.8249, allocations: 2.085 MB / 0.6397 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004104/0.829, allocations: 0.7566 MB / 0.6404 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.831, allocations: 0.8663 MB / 0.6412 GB, free: 123.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.645e-06/0.831, allocations: 0 / 0.6412 GB, free: 123.7 MB / 474.7 MB Notification: Performance of Templates: time 0.07545/0.9064, allocations: 37.43 MB / 0.6778 GB, free: 99.81 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: 5.341966199222952]