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.001336/0.001336, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001457/0.001457, allocations: 205.3 kB / 24.49 MB, free: 3.965 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2268/0.2268, allocations: 46.97 MB / 361.6 MB, free: 4.16 MB / 286.1 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.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",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.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01759/0.3504, allocations: 13.02 MB / 0.5745 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3621, allocations: 4.844 MB / 0.5793 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.3651, allocations: 143.2 kB / 0.5794 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.3773, allocations: 5.803 MB / 0.5851 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.3851, allocations: 2.832 MB / 0.5878 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.3888, allocations: 1.579 MB / 0.5894 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.4002, allocations: 7.785 MB / 0.597 GB, free: 76 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008521/0.4088, allocations: 5.403 MB / 0.6023 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.4139, allocations: 2.988 MB / 0.6052 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006192/0.4201, allocations: 4.097 MB / 0.6092 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.4214, allocations: 0.5703 MB / 0.6097 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4242, allocations: 1.307 MB / 0.611 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003881/0.4281, allocations: 3.607 MB / 0.6145 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.4324, allocations: 2.874 MB / 0.6173 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.4464, allocations: 11.71 MB / 0.6288 GB, free: 15.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4464, allocations: 0 / 0.6288 GB, free: 15.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4464, allocations: 0 / 0.6288 GB, free: 15.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003112/0.4467, allocations: 4 kB / 0.6288 GB, free: 15.32 MB / 478.1 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.01835/0.4651, allocations: 8.6 MB / 0.6372 GB, free: 6.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4651, allocations: 12.03 kB / 0.6372 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4753, allocations: 2.527 MB / 0.6397 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.4867, allocations: 4.451 MB / 0.644 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/0.4871, allocations: 430.5 kB / 0.6444 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.4889, allocations: 0.5388 MB / 0.6449 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.5202, allocations: 16.76 MB / 0.6613 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.5204, allocations: 67.44 kB / 0.6614 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/0.521, allocations: 263.8 kB / 0.6616 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004474/0.5255, allocations: 2.927 MB / 0.6645 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.5529, allocations: 12.77 MB / 0.677 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5328/1.086, allocations: 60 MB / 0.7355 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.101, allocations: 4.884 MB / 0.7403 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/1.104, allocations: 1.993 MB / 0.7423 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01462/1.118, allocations: 7.618 MB / 0.7497 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/1.118, allocations: 61.12 kB / 0.7498 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.831e-06/1.118, allocations: 3.938 kB / 0.7498 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03493/1.153, allocations: 14.39 MB / 0.7638 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.153, allocations: 152.7 kB / 0.764 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006591/1.16, allocations: 5.996 MB / 0.7698 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.16, allocations: 57.7 kB / 0.7699 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002109/1.162, allocations: 5.301 MB / 0.775 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005511/1.163, allocations: 0.856 MB / 0.7759 GB, free: 120.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.164, allocations: 1.69 MB / 0.7775 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/1.164, allocations: 301.1 kB / 0.7778 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/1.167, allocations: 2.327 MB / 0.7801 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/1.171, allocations: 7.676 MB / 0.7876 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.179, allocations: 10.87 MB / 0.7982 GB, free: 92.95 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.179, allocations: 54.5 kB / 0.7983 GB, free: 92.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01239/1.191, allocations: 9.633 MB / 0.8077 GB, free: 83.26 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/1.192, allocations: 88 kB / 0.8078 GB, free: 83.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.192, allocations: 192 kB / 0.8079 GB, free: 82.98 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/1.192, allocations: 251.2 kB / 0.8082 GB, free: 82.74 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/1.197, allocations: 1.922 MB / 0.8101 GB, free: 80.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001692/1.197, allocations: 378.5 kB / 0.8104 GB, free: 80.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/1.202, allocations: 407.5 kB / 0.8108 GB, free: 80.05 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006072/1.203, allocations: 0.5117 MB / 0.8113 GB, free: 79.54 MB / 0.5607 GB 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.003625/1.206, allocations: 3.292 MB / 0.8145 GB, free: 76.24 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007238/1.207, allocations: 0.5122 MB / 0.815 GB, free: 75.72 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/1.208, allocations: 0.5723 MB / 0.8156 GB, free: 75.14 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.208, allocations: 7.969 kB / 0.8156 GB, free: 75.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/1.208, allocations: 4 kB / 0.8156 GB, free: 75.13 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/1.209, allocations: 449.1 kB / 0.816 GB, free: 74.69 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/1.209, allocations: 32 kB / 0.816 GB, free: 74.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.21, allocations: 87.89 kB / 0.8161 GB, free: 74.57 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.211, allocations: 105 kB / 0.8162 GB, free: 74.47 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003062/1.214, allocations: 2.478 MB / 0.8186 GB, free: 72.02 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/1.216, allocations: 2.875 MB / 0.8215 GB, free: 69.12 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008734/1.217, allocations: 0.8932 MB / 0.8223 GB, free: 68.23 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004662/1.222, allocations: 3.502 MB / 0.8257 GB, free: 64.75 MB / 0.5607 GB Notification: Performance of Backend: time 5.21e-07/1.222, allocations: 0 / 0.8257 GB, free: 64.75 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008504/1.23, allocations: 4.504 MB / 0.8301 GB, free: 60.3 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02052/1.251, allocations: 14.32 MB / 0.8441 GB, free: 45.93 MB / 0.5607 GB Notification: Performance of Templates: time 0.09015/1.341, allocations: 54.69 MB / 0.8975 GB, free: 7.98 MB / 0.5763 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.545423827999912]