Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001265/0.001265, allocations: 106.8 kB / 17.08 MB, free: 5.992 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.001209/0.001209, allocations: 191.1 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1792/0.1792, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.91 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09205, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01568/0.1078, allocations: 17.04 MB / 0.5052 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1184, allocations: 5.304 MB / 0.5104 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.1212, allocations: 131.6 kB / 0.5105 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.1314, allocations: 6.067 MB / 0.5164 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007259/0.1388, allocations: 3.089 MB / 0.5194 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.1422, allocations: 1.575 MB / 0.521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01036/0.1526, allocations: 8.197 MB / 0.529 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2026/0.3553, allocations: 7.624 MB / 0.5364 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/0.3604, allocations: 3.186 MB / 0.5395 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006444/0.3669, allocations: 4.212 MB / 0.5436 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.3696, allocations: 0.6411 MB / 0.5443 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.3743, allocations: 1.469 MB / 0.5457 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005854/0.3802, allocations: 3.919 MB / 0.5495 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007147/0.3874, allocations: 4.285 MB / 0.5537 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.4006, allocations: 13.09 MB / 0.5665 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4006, allocations: 0 / 0.5665 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4006, allocations: 0 / 0.5665 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004118/0.401, allocations: 4 kB / 0.5665 GB, free: 14.78 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01962/0.4207, allocations: 9.245 MB / 0.5755 GB, free: 8.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4207, allocations: 14.05 kB / 0.5755 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.4313, allocations: 2.662 MB / 0.5781 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/0.4404, allocations: 5.064 MB / 0.5831 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.4409, allocations: 470.7 kB / 0.5835 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.4429, allocations: 0.5947 MB / 0.5841 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/0.4747, allocations: 18.73 MB / 0.6024 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/0.4749, allocations: 74.5 kB / 0.6025 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000898/0.4758, allocations: 285.9 kB / 0.6028 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004679/0.4805, allocations: 3.44 MB / 0.6061 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/0.5094, allocations: 14.62 MB / 0.6204 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08912/0.5985, allocations: 70.18 MB / 0.6889 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.6146, allocations: 6.13 MB / 0.6949 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.6183, allocations: 2.454 MB / 0.6973 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.6359, allocations: 10.82 MB / 0.7079 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.636, allocations: 67.55 kB / 0.7079 GB, free: 2.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 5.2e-06/0.636, allocations: 4 kB / 0.7079 GB, free: 2.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.03913/0.6751, allocations: 15.85 MB / 0.7234 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.6753, allocations: 157.5 kB / 0.7236 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008782/0.684, allocations: 6.644 MB / 0.7301 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003877/0.6845, allocations: 61.7 kB / 0.7301 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003487/0.688, allocations: 5.542 MB / 0.7355 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.689, allocations: 1.01 MB / 0.7365 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/0.6912, allocations: 1.835 MB / 0.7383 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.6913, allocations: 308.8 kB / 0.7386 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/0.6952, allocations: 2.653 MB / 0.7412 GB, free: 344 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007265/0.7024, allocations: 8.376 MB / 0.7494 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2163/0.9188, allocations: 11.99 MB / 0.7611 GB, free: 185 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/0.919, allocations: 58.88 kB / 0.7611 GB, free: 185 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01783/0.9368, allocations: 10.72 MB / 0.7716 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.9369, allocations: 99.91 kB / 0.7717 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002691/0.9372, allocations: 201 kB / 0.7719 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.9376, allocations: 267.5 kB / 0.7721 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/0.944, allocations: 2.139 MB / 0.7742 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003594/0.9444, allocations: 397.2 kB / 0.7746 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006226/0.9506, allocations: 459.3 kB / 0.7751 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/0.952, allocations: 0.5573 MB / 0.7756 GB, free: 182 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1155): * Single equations (assignments): 1144 * 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.005515/0.9575, allocations: 3.628 MB / 0.7791 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/0.9584, allocations: 0.5657 MB / 0.7797 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.9624, allocations: 2.794 MB / 0.7824 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.9625, allocations: 28.12 kB / 0.7824 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.9625, allocations: 0 / 0.7824 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/0.9625, allocations: 15.33 kB / 0.7825 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02984/0.9923, allocations: 26.56 MB / 0.8084 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.9924, allocations: 52 kB / 0.8085 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.994, allocations: 0.534 MB / 0.809 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.919e-05/0.994, allocations: 68 kB / 0.809 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.9942, allocations: 112 kB / 0.8091 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-05/0.9942, allocations: 103 kB / 0.8092 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.111e-05/0.9943, allocations: 91.56 kB / 0.8093 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.9984, allocations: 5.241 MB / 0.8145 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.9997, allocations: 0.6746 MB / 0.8151 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007944/1.001, allocations: 124.6 kB / 0.8152 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.003, allocations: 143.2 kB / 0.8154 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.003, allocations: 353.3 kB / 0.8157 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.003, allocations: 153.7 kB / 0.8158 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005564/1.009, allocations: 4.152 MB / 0.8199 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.112e-06/1.009, allocations: 4 kB / 0.8199 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007499/1.016, allocations: 1.506 MB / 0.8214 GB, free: 155.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0005678/1.017, allocations: 297.9 kB / 0.8217 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007829/1.025, allocations: 6.285 MB / 0.8278 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.892e-05/1.025, allocations: 8 kB / 0.8278 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.027, allocations: 1.491 MB / 0.8293 GB, free: 148.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/1.032, allocations: 0.9386 MB / 0.8302 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.055, allocations: 17.76 MB / 0.8475 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006191/1.061, allocations: 5.559 MB / 0.8529 GB, free: 124 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.062, allocations: 471.4 kB / 0.8534 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/1.062, allocations: 0 / 0.8534 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1049/1.167, allocations: 96.25 MB / 0.9474 GB, free: 27.11 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches