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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 70.33 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01764/0.1266, allocations: 15.38 MB / 485.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1385, allocations: 5.103 MB / 490.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.1416, allocations: 123.7 kB / 490.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.1534, allocations: 6.028 MB / 496.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.1618, allocations: 2.852 MB / 499.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.1662, allocations: 1.579 MB / 0.4892 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.1782, allocations: 7.726 MB / 0.4968 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2404/0.4186, allocations: 7.477 MB / 0.5041 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006977/0.4256, allocations: 3.039 MB / 0.5071 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007867/0.4336, allocations: 3.86 MB / 0.5108 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003442/0.437, allocations: 0.5858 MB / 0.5114 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006174/0.4432, allocations: 1.428 MB / 0.5128 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007286/0.4506, allocations: 3.591 MB / 0.5163 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.4611, allocations: 3.987 MB / 0.5202 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4807, allocations: 11.72 MB / 0.5316 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4807, allocations: 4.469 kB / 0.5316 GB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4807, allocations: 0 / 0.5316 GB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006029/0.4813, allocations: 0.5312 kB / 0.5316 GB, free: 9.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02106/0.5024, allocations: 8.737 MB / 0.5402 GB, free: 4.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5025, allocations: 9.688 kB / 0.5402 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.5131, allocations: 2.577 MB / 0.5427 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009409/0.5226, allocations: 4.596 MB / 0.5472 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.523, allocations: 432.6 kB / 0.5476 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.5252, allocations: 0.5588 MB / 0.5481 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03847/0.5637, allocations: 17.43 MB / 0.5652 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003818/0.5641, allocations: 74.11 kB / 0.5652 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/0.5665, allocations: 269.2 kB / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005634/0.5722, allocations: 3.167 MB / 0.5686 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03315/0.6054, allocations: 13.42 MB / 0.5817 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0985/0.7039, allocations: 66.12 MB / 0.6463 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.7215, allocations: 5.494 MB / 0.6516 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.7253, allocations: 2.131 MB / 0.6537 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/0.7454, allocations: 10.01 MB / 0.6635 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.7455, allocations: 59.56 kB / 0.6635 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.999e-06/0.7455, allocations: 0 / 0.6635 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04464/0.7902, allocations: 14.25 MB / 0.6775 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7903, allocations: 153.8 kB / 0.6776 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/0.8028, allocations: 6.382 MB / 0.6838 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003975/0.8032, allocations: 56.91 kB / 0.6839 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004404/0.8076, allocations: 5.241 MB / 0.689 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.8087, allocations: 0.8246 MB / 0.6898 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002869/0.8116, allocations: 1.701 MB / 0.6915 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8118, allocations: 305.1 kB / 0.6918 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003946/0.8157, allocations: 2.343 MB / 0.6941 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2307/1.046, allocations: 7.765 MB / 0.7016 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.058, allocations: 11 MB / 0.7124 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002154/1.058, allocations: 54.88 kB / 0.7124 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02096/1.079, allocations: 9.75 MB / 0.722 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/1.079, allocations: 88.41 kB / 0.722 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/1.079, allocations: 195.3 kB / 0.7222 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/1.08, allocations: 254.1 kB / 0.7225 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006046/1.086, allocations: 1.952 MB / 0.7244 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002742/1.086, allocations: 373.1 kB / 0.7247 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/1.092, allocations: 412.6 kB / 0.7251 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.094, allocations: 0.5245 MB / 0.7256 GB, free: 159.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1055): * Single equations (assignments): 1044 * 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.00632/1.1, allocations: 3.409 MB / 0.729 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009302/1.101, allocations: 0.5321 MB / 0.7295 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/1.102, allocations: 0.6253 MB / 0.7301 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/1.103, allocations: 20.25 kB / 0.7301 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/1.103, allocations: 3.906 kB / 0.7301 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/1.103, allocations: 8.578 kB / 0.7301 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/1.125, allocations: 16.72 MB / 0.7464 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/1.125, allocations: 40.19 kB / 0.7465 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.126, allocations: 380.6 kB / 0.7468 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-05/1.126, allocations: 63.88 kB / 0.7469 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.126, allocations: 91.84 kB / 0.747 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-05/1.126, allocations: 75.34 kB / 0.7471 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/1.126, allocations: 60.53 kB / 0.7471 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/1.129, allocations: 3.952 MB / 0.751 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.131, allocations: 0.6172 MB / 0.7516 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006737/1.131, allocations: 95.05 kB / 0.7517 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.133, allocations: 99.73 kB / 0.7518 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/1.134, allocations: 259.6 kB / 0.752 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.134, allocations: 109.2 kB / 0.7521 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005653/1.139, allocations: 3.978 MB / 0.756 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.31e-07/1.139, allocations: 0 / 0.756 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007437/1.147, allocations: 1.373 MB / 0.7574 GB, free: 140.7 MB / 0.5294 GB 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.0006135/1.147, allocations: 251.3 kB / 0.7576 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007537/1.155, allocations: 5.55 MB / 0.763 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.91e-05/1.155, allocations: 4.5 kB / 0.763 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.157, allocations: 1.13 MB / 0.7641 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005459/1.162, allocations: 0.8879 MB / 0.765 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/1.188, allocations: 16.16 MB / 0.7808 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006947/1.195, allocations: 5.217 MB / 0.7859 GB, free: 113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.196, allocations: 419.4 kB / 0.7863 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/1.196, allocations: 0 / 0.7863 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1166/1.313, allocations: 86.46 MB / 0.8707 GB, free: 26.23 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches