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.0009542/0.0009543, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 183.3 kB / 16.92 MB, free: 6.918 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.688/1.688, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3911/0.3911, allocations: 43.57 MB / 315 MB, free: 8.797 MB / 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.0005642/0.0005644, allocations: 23.98 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1506, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3666/0.5173, allocations: 98.66 MB / 0.5294 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07173/0.5891, allocations: 19.07 MB / 0.548 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03209/0.6213, allocations: 442.9 kB / 0.5484 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.625, allocations: 0.7051 MB / 0.5491 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.6366, allocations: 2.93 MB / 0.552 GB, free: 12 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004835/0.6415, allocations: 1.253 MB / 0.5532 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01947/0.661, allocations: 11.91 MB / 0.5648 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.6803, allocations: 10.59 MB / 0.5752 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/0.6869, allocations: 2.405 MB / 0.5775 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008302/0.6953, allocations: 3.874 MB / 0.5813 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.6976, allocations: 284 kB / 0.5816 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006054/0.7037, allocations: 1.186 MB / 0.5827 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005606/0.7093, allocations: 3.444 MB / 0.5861 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008032/0.7174, allocations: 3.786 MB / 0.5898 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.7347, allocations: 12.1 MB / 0.6016 GB, free: 13.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7348, allocations: 3.938 kB / 0.6016 GB, free: 13.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7348, allocations: 0 / 0.6016 GB, free: 13.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005589/0.7354, allocations: 0 / 0.6016 GB, free: 13.47 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.0207/0.7561, allocations: 7.592 MB / 0.609 GB, free: 5.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.701e-05/0.7562, allocations: 8.031 kB / 0.609 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.7693, allocations: 2.72 MB / 0.6117 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.7805, allocations: 4.966 MB / 0.6166 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/0.781, allocations: 459.9 kB / 0.617 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/0.7836, allocations: 0.5933 MB / 0.6176 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3599/1.144, allocations: 18.78 MB / 0.6359 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/1.144, allocations: 72.81 kB / 0.636 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.145, allocations: 289.4 kB / 0.6363 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/1.15, allocations: 3.447 MB / 0.6396 GB, free: 134.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03331/1.184, allocations: 14.64 MB / 0.6539 GB, free: 131.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.287, allocations: 70.46 MB / 0.7227 GB, free: 80.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/1.303, allocations: 6.139 MB / 0.7287 GB, free: 74.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/1.306, allocations: 2.449 MB / 0.7311 GB, free: 72.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/1.323, allocations: 10.84 MB / 0.7417 GB, free: 61.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.323, allocations: 68.5 kB / 0.7418 GB, free: 61.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 4.889e-06/1.323, allocations: 0 / 0.7418 GB, free: 61.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.03636/1.359, allocations: 15.92 MB / 0.7573 GB, free: 45.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.359, allocations: 154.5 kB / 0.7575 GB, free: 45.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007631/1.367, allocations: 6.64 MB / 0.7639 GB, free: 38.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003764/1.367, allocations: 69.7 kB / 0.764 GB, free: 38.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.37, allocations: 5.529 MB / 0.7694 GB, free: 32.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/1.371, allocations: 1.016 MB / 0.7704 GB, free: 31.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/1.372, allocations: 0.794 MB / 0.7712 GB, free: 31.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/1.372, allocations: 305.1 kB / 0.7715 GB, free: 30.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/1.375, allocations: 2.657 MB / 0.7741 GB, free: 28.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/1.381, allocations: 8.373 MB / 0.7822 GB, free: 16.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.391, allocations: 11.99 MB / 0.794 GB, free: 2.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.391, allocations: 56 kB / 0.794 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02167/1.413, allocations: 10.72 MB / 0.8045 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.413, allocations: 95.94 kB / 0.8046 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002842/1.414, allocations: 204 kB / 0.8048 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/1.414, allocations: 264 kB / 0.805 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007229/1.421, allocations: 2.144 MB / 0.8071 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003723/1.422, allocations: 398.5 kB / 0.8075 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007636/1.429, allocations: 453.5 kB / 0.8079 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.431, allocations: 0.5596 MB / 0.8085 GB, free: 3.141 MB / 0.4981 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.007822/1.439, allocations: 3.621 MB / 0.812 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.44, allocations: 0.5706 MB / 0.8126 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/1.446, allocations: 2.791 MB / 0.8153 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/1.446, allocations: 28 kB / 0.8153 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.446, allocations: 7.984 kB / 0.8153 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/1.446, allocations: 7.969 kB / 0.8153 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5305/1.977, allocations: 26.55 MB / 0.8413 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.618e-05/1.977, allocations: 56.91 kB / 0.8413 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.979, allocations: 0.523 MB / 0.8418 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/1.979, allocations: 67.34 kB / 0.8419 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.979, allocations: 121.1 kB / 0.842 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.549e-05/1.979, allocations: 102.6 kB / 0.8421 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.257e-05/1.979, allocations: 86.09 kB / 0.8422 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005573/1.985, allocations: 5.245 MB / 0.8473 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.987, allocations: 0.6815 MB / 0.848 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009861/1.988, allocations: 124.5 kB / 0.8481 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.99, allocations: 143.8 kB / 0.8482 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.991, allocations: 354 kB / 0.8486 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.991, allocations: 153.2 kB / 0.8487 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009365/2, allocations: 4.155 MB / 0.8528 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.41e-07/2, allocations: 0 / 0.8528 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01161/2.012, allocations: 1.506 MB / 0.8542 GB, free: 141.9 MB / 0.5138 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.0008398/2.013, allocations: 299.5 kB / 0.8545 GB, free: 141.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01123/2.024, allocations: 6.145 MB / 0.8605 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.463e-05/2.024, allocations: 16.12 kB / 0.8605 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/2.027, allocations: 1.495 MB / 0.862 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05447/2.081, allocations: 0.9184 MB / 0.8629 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04293/2.124, allocations: 21.06 MB / 0.8835 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/2.135, allocations: 5.584 MB / 0.8889 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009458/2.144, allocations: 2.778 MB / 0.8916 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/2.146, allocations: 396.3 kB / 0.892 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.453e-06/2.146, allocations: 0 / 0.892 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.09282/2.238, allocations: 46.86 MB / 0.9378 GB, free: 81.56 MB / 0.5138 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches