Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008296/0.0008296, allocations: 97.11 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009798/0.0009799, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002587, allocations: 8.328 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3514/0.4786, allocations: 82.39 MB / 0.5522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04484/0.5235, allocations: 16.19 MB / 0.568 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02425/0.5478, allocations: 383.4 kB / 0.5684 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.5509, allocations: 0.6409 MB / 0.569 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008117/0.5591, allocations: 2.604 MB / 0.5716 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.563, allocations: 1.26 MB / 0.5728 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01657/0.5796, allocations: 11.11 MB / 0.5836 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.5958, allocations: 10.35 MB / 0.5938 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/0.6011, allocations: 2.199 MB / 0.5959 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005778/0.6069, allocations: 3.457 MB / 0.5993 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.6082, allocations: 244 kB / 0.5995 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.6112, allocations: 1.139 MB / 0.6006 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003926/0.6152, allocations: 3.077 MB / 0.6036 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004255/0.6194, allocations: 3.37 MB / 0.6069 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.6327, allocations: 10.75 MB / 0.6174 GB, free: 12.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6328, allocations: 0 / 0.6174 GB, free: 12.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.6328, allocations: 3.938 kB / 0.6174 GB, free: 12.97 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004896/0.6333, allocations: 0 / 0.6174 GB, free: 12.97 MB / 462.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.0182/0.6515, allocations: 6.967 MB / 0.6242 GB, free: 5.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6515, allocations: 8.875 kB / 0.6242 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.6632, allocations: 2.53 MB / 0.6267 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009948/0.6732, allocations: 4.403 MB / 0.631 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005131/0.6738, allocations: 427 kB / 0.6314 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/0.676, allocations: 0.5426 MB / 0.6319 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03641/0.7125, allocations: 16.72 MB / 0.6483 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004178/0.7129, allocations: 71.31 kB / 0.6483 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.7151, allocations: 263.8 kB / 0.6486 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004968/0.72, allocations: 2.927 MB / 0.6515 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/0.7524, allocations: 12.82 MB / 0.664 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6412/1.394, allocations: 64.17 MB / 0.7266 GB, free: 138 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.411, allocations: 5.498 MB / 0.732 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/1.414, allocations: 2.115 MB / 0.7341 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/1.431, allocations: 9.943 MB / 0.7438 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/1.431, allocations: 55.34 kB / 0.7438 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 6.422e-06/1.431, allocations: 0 / 0.7438 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03722/1.468, allocations: 14.11 MB / 0.7576 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/1.468, allocations: 150.2 kB / 0.7578 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.478, allocations: 6.295 MB / 0.7639 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004406/1.479, allocations: 54.06 kB / 0.764 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003751/1.483, allocations: 5.076 MB / 0.7689 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000952/1.484, allocations: 0.8177 MB / 0.7697 GB, free: 117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/1.485, allocations: 0.7384 MB / 0.7704 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/1.485, allocations: 305.1 kB / 0.7707 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/1.488, allocations: 2.328 MB / 0.773 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/1.495, allocations: 7.68 MB / 0.7805 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.506, allocations: 10.86 MB / 0.7911 GB, free: 91.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001943/1.506, allocations: 56 kB / 0.7912 GB, free: 91.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01807/1.524, allocations: 9.651 MB / 0.8006 GB, free: 81.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/1.524, allocations: 88 kB / 0.8007 GB, free: 81.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/1.525, allocations: 188 kB / 0.8008 GB, free: 81.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/1.525, allocations: 252 kB / 0.8011 GB, free: 80.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006069/1.531, allocations: 1.934 MB / 0.803 GB, free: 78.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/1.531, allocations: 370.5 kB / 0.8033 GB, free: 78.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006383/1.538, allocations: 409.4 kB / 0.8037 GB, free: 78.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/1.539, allocations: 0.5131 MB / 0.8042 GB, free: 77.7 MB / 0.5294 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.008008/1.547, allocations: 3.288 MB / 0.8074 GB, free: 74.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.549, allocations: 0.5283 MB / 0.8079 GB, free: 73.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/1.551, allocations: 0.6201 MB / 0.8086 GB, free: 73.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/1.551, allocations: 29.16 kB / 0.8086 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-05/1.551, allocations: 4 kB / 0.8086 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/1.551, allocations: 8.156 kB / 0.8086 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/1.578, allocations: 16.44 MB / 0.8246 GB, free: 56.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/1.578, allocations: 39.94 kB / 0.8247 GB, free: 56.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.579, allocations: 387.2 kB / 0.8251 GB, free: 55.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-05/1.579, allocations: 48 kB / 0.8251 GB, free: 55.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.579, allocations: 81.12 kB / 0.8252 GB, free: 55.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-05/1.579, allocations: 79.7 kB / 0.8253 GB, free: 55.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.73e-05/1.579, allocations: 67.62 kB / 0.8253 GB, free: 55.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/1.583, allocations: 3.93 MB / 0.8292 GB, free: 51.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.584, allocations: 0.6111 MB / 0.8298 GB, free: 50.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/1.585, allocations: 96.5 kB / 0.8298 GB, free: 50.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.587, allocations: 108.6 kB / 0.83 GB, free: 50.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/1.587, allocations: 262.7 kB / 0.8302 GB, free: 49.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.587, allocations: 104.7 kB / 0.8303 GB, free: 49.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005998/1.593, allocations: 3.939 MB / 0.8341 GB, free: 45.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.02e-07/1.593, allocations: 0 / 0.8341 GB, free: 45.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008178/1.601, allocations: 1.317 MB / 0.8354 GB, free: 44.59 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.0007837/1.602, allocations: 243.5 kB / 0.8357 GB, free: 44.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009208/1.611, allocations: 5.337 MB / 0.8409 GB, free: 39.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.354e-05/1.611, allocations: 8 kB / 0.8409 GB, free: 39.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.613, allocations: 1.125 MB / 0.842 GB, free: 37.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03923/1.652, allocations: 0.8291 MB / 0.8428 GB, free: 37.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/1.676, allocations: 18.37 MB / 0.8607 GB, free: 18.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006853/1.683, allocations: 5.056 MB / 0.8657 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006757/1.69, allocations: 2.523 MB / 0.8681 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009417/1.691, allocations: 347.4 kB / 0.8685 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of SimCode: time 3.246e-06/1.691, allocations: 0 / 0.8685 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.08733/1.778, allocations: 41.33 MB / 0.9088 GB, free: 1.086 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches