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.001656/0.001656, allocations: 114.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.335, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01619/0.3512, allocations: 14.99 MB / 0.5463 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3638, allocations: 5.044 MB / 0.5512 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.3674, allocations: 119.6 kB / 0.5513 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.3807, allocations: 5.97 MB / 0.5572 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.3927, allocations: 2.738 MB / 0.5598 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.3976, allocations: 1.579 MB / 0.5614 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01652/0.4141, allocations: 7.782 MB / 0.569 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.4294, allocations: 7.386 MB / 0.5762 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007791/0.4373, allocations: 2.929 MB / 0.5791 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008372/0.4457, allocations: 3.797 MB / 0.5828 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003301/0.4491, allocations: 0.5703 MB / 0.5833 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.4542, allocations: 1.389 MB / 0.5847 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005721/0.46, allocations: 3.527 MB / 0.5881 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008095/0.4681, allocations: 3.829 MB / 0.5919 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.4882, allocations: 11.6 MB / 0.6032 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4882, allocations: 0 / 0.6032 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4883, allocations: 0 / 0.6032 GB, free: 8.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005043/0.4888, allocations: 4 kB / 0.6032 GB, free: 8.176 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.02995/0.5187, allocations: 8.452 MB / 0.6114 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5188, allocations: 8.031 kB / 0.6115 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.533, allocations: 2.475 MB / 0.6139 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.5494, allocations: 4.512 MB / 0.6183 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/0.5501, allocations: 434.5 kB / 0.6187 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003067/0.5532, allocations: 0.5348 MB / 0.6192 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05572/0.6089, allocations: 16.69 MB / 0.6355 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/0.6094, allocations: 71.33 kB / 0.6356 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002817/0.6122, allocations: 263.8 kB / 0.6358 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006422/0.6187, allocations: 2.924 MB / 0.6387 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03779/0.6565, allocations: 12.79 MB / 0.6512 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/0.7592, allocations: 63.98 MB / 0.7136 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6641/1.423, allocations: 5.493 MB / 0.719 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/1.427, allocations: 2.117 MB / 0.7211 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/1.444, allocations: 9.931 MB / 0.7308 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.444, allocations: 57.22 kB / 0.7308 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.719e-06/1.444, allocations: 0.6562 kB / 0.7308 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.034/1.478, allocations: 14.05 MB / 0.7445 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.478, allocations: 160.8 kB / 0.7447 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.486, allocations: 6.283 MB / 0.7508 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003437/1.486, allocations: 57.7 kB / 0.7509 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.489, allocations: 5.084 MB / 0.7559 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007481/1.489, allocations: 0.8205 MB / 0.7567 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/1.491, allocations: 1.673 MB / 0.7583 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/1.491, allocations: 301.1 kB / 0.7586 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/1.494, allocations: 2.327 MB / 0.7609 GB, free: 135 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/1.499, allocations: 7.674 MB / 0.7683 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.514, allocations: 10.88 MB / 0.779 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002758/1.514, allocations: 56 kB / 0.779 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02795/1.542, allocations: 9.649 MB / 0.7884 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/1.542, allocations: 88 kB / 0.7885 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004069/1.543, allocations: 188 kB / 0.7887 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/1.543, allocations: 251.9 kB / 0.7889 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009557/1.553, allocations: 1.927 MB / 0.7908 GB, free: 99.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003736/1.553, allocations: 374.5 kB / 0.7912 GB, free: 98.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.564, allocations: 403.7 kB / 0.7916 GB, free: 98.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/1.566, allocations: 0.5116 MB / 0.7921 GB, free: 97.84 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.007157/1.573, allocations: 3.296 MB / 0.7953 GB, free: 94.54 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.574, allocations: 0.5244 MB / 0.7958 GB, free: 94 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.576, allocations: 0.6239 MB / 0.7964 GB, free: 93.37 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/1.576, allocations: 27.94 kB / 0.7964 GB, free: 93.34 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/1.576, allocations: 4 kB / 0.7964 GB, free: 93.34 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.576, allocations: 7.969 kB / 0.7965 GB, free: 93.33 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.601, allocations: 16.45 MB / 0.8125 GB, free: 76.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.075e-05/1.601, allocations: 39.38 kB / 0.8126 GB, free: 76.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.603, allocations: 391.2 kB / 0.8129 GB, free: 75.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-05/1.603, allocations: 48 kB / 0.813 GB, free: 75.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/1.603, allocations: 80.66 kB / 0.813 GB, free: 75.78 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.754e-05/1.603, allocations: 75.72 kB / 0.8131 GB, free: 75.71 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.274e-05/1.603, allocations: 67.69 kB / 0.8132 GB, free: 75.64 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/1.609, allocations: 3.934 MB / 0.817 GB, free: 71.15 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003362/1.612, allocations: 0.6149 MB / 0.8176 GB, free: 70.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.614, allocations: 87.97 kB / 0.8177 GB, free: 70.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.618, allocations: 103.9 kB / 0.8178 GB, free: 70.32 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/1.618, allocations: 254.8 kB / 0.8181 GB, free: 70.07 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.618, allocations: 111.9 kB / 0.8182 GB, free: 69.96 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01061/1.629, allocations: 3.931 MB / 0.822 GB, free: 66.04 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.112e-06/1.629, allocations: 0 / 0.822 GB, free: 66.04 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01228/1.641, allocations: 1.321 MB / 0.8233 GB, free: 64.73 MB / 0.5607 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.0007385/1.642, allocations: 240.9 kB / 0.8235 GB, free: 64.49 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.653, allocations: 5.429 MB / 0.8288 GB, free: 59.13 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-05/1.653, allocations: 8 kB / 0.8288 GB, free: 59.12 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.655, allocations: 1.134 MB / 0.8299 GB, free: 58 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008554/1.664, allocations: 0.8591 MB / 0.8308 GB, free: 57.15 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/1.702, allocations: 15.48 MB / 0.8459 GB, free: 41.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/1.712, allocations: 5.044 MB / 0.8508 GB, free: 36.02 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.714, allocations: 411.4 kB / 0.8512 GB, free: 35.61 MB / 0.5607 GB Notification: Performance of SimCode: time 1.352e-06/1.714, allocations: 0 / 0.8512 GB, free: 35.61 MB / 0.5607 GB Notification: Performance of Templates: time 0.1862/1.9, allocations: 85.93 MB / 0.9351 GB, free: 13.74 MB / 0.6232 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/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_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches