Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.11 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 80.73 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 62.45 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01208/0.1233, allocations: 9.515 MB / 490.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006413/0.1298, allocations: 2.93 MB / 493.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.1311, allocations: 47.94 kB / 493.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.135, allocations: 1.994 MB / 495.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1378, allocations: 1.109 MB / 496.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.1386, allocations: 299.3 kB / 496.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.1418, allocations: 2.314 MB / 499 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.1446, allocations: 2.317 MB / 0.4895 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1457, allocations: 0.8761 MB / 0.4904 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.1472, allocations: 1.153 MB / 0.4915 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.1476, allocations: 196 kB / 0.4917 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.1489, allocations: 0.6982 MB / 0.4924 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.15, allocations: 1.107 MB / 0.4935 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1514, allocations: 1.305 MB / 0.4947 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004486/0.1558, allocations: 4.155 MB / 0.4988 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1559, allocations: 4 kB / 0.4988 GB, free: 7.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1559, allocations: 0 / 0.4988 GB, free: 7.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.948e-05/0.156, allocations: 0 / 0.4988 GB, free: 7.059 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005386/0.1614, allocations: 2.861 MB / 0.5016 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1614, allocations: 8.031 kB / 0.5016 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.1668, allocations: 1.561 MB / 0.5031 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.1696, allocations: 1.32 MB / 0.5044 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1697, allocations: 144 kB / 0.5045 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.1702, allocations: 191.8 kB / 0.5047 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2065/0.3766, allocations: 6.238 MB / 0.5108 GB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/0.3767, allocations: 17.16 kB / 0.5108 GB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.377, allocations: 90.03 kB / 0.5109 GB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/0.3792, allocations: 1.346 MB / 0.5122 GB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3905, allocations: 5.326 MB / 0.5174 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/0.4138, allocations: 20.13 MB / 0.5371 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.4175, allocations: 2.074 MB / 0.5391 GB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.4182, allocations: 0.6991 MB / 0.5398 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004881/0.4231, allocations: 3.479 MB / 0.5432 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4232, allocations: 39 kB / 0.5432 GB, free: 15.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.076e-06/0.4232, allocations: 0 / 0.5432 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004627/0.4278, allocations: 1.977 MB / 0.5452 GB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4279, allocations: 55.84 kB / 0.5452 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.4298, allocations: 1.937 MB / 0.5471 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.4298, allocations: 41.7 kB / 0.5472 GB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/0.4305, allocations: 1.832 MB / 0.549 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4307, allocations: 316 kB / 0.5493 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.4312, allocations: 0.6151 MB / 0.5499 GB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.4313, allocations: 357.9 kB / 0.5502 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/0.4322, allocations: 0.887 MB / 0.5511 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4338, allocations: 2.755 MB / 0.5538 GB, free: 3.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.4372, allocations: 3.973 MB / 0.5576 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/0.4372, allocations: 23.31 kB / 0.5577 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005752/0.443, allocations: 3.515 MB / 0.5611 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.4431, allocations: 32 kB / 0.5611 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-05/0.4432, allocations: 68 kB / 0.5612 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.927e-05/0.4433, allocations: 84 kB / 0.5613 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.4452, allocations: 0.6589 MB / 0.5619 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.4454, allocations: 135.4 kB / 0.562 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.4474, allocations: 411.7 kB / 0.5624 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.4477, allocations: 199.9 kB / 0.5626 GB, free: 9.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.00206/0.4497, allocations: 1.334 MB / 0.5639 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.45, allocations: 153.9 kB / 0.5641 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.4504, allocations: 200.8 kB / 0.5643 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.4504, allocations: 8 kB / 0.5643 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4504, allocations: 1.875 kB / 0.5643 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4505, allocations: 15.92 kB / 0.5643 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/0.4573, allocations: 4.069 MB / 0.5683 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4573, allocations: 8 kB / 0.5683 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.4578, allocations: 91.83 kB / 0.5684 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.4578, allocations: 8.75 kB / 0.5684 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.4578, allocations: 27.92 kB / 0.5684 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.4579, allocations: 12 kB / 0.5684 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.4579, allocations: 7.938 kB / 0.5684 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4595, allocations: 1.235 MB / 0.5696 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.46, allocations: 242.8 kB / 0.5698 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.4601, allocations: 19.94 kB / 0.5699 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.4606, allocations: 31.88 kB / 0.5699 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4607, allocations: 59.81 kB / 0.57 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.4608, allocations: 35.98 kB / 0.57 GB, free: 1.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.4627, allocations: 1.267 MB / 0.5712 GB, free: 252 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4627, allocations: 0 / 0.5712 GB, free: 252 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002583/0.4653, allocations: 0.6842 MB / 0.5719 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003471/0.4657, allocations: 140.4 kB / 0.572 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.4694, allocations: 2.254 MB / 0.5742 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.4695, allocations: 4 kB / 0.5742 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.4701, allocations: 457.8 kB / 0.5747 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4713, allocations: 236.5 kB / 0.5749 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.4804, allocations: 5.374 MB / 0.5801 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/0.4831, allocations: 2.275 MB / 0.5824 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.4835, allocations: 147.4 kB / 0.5825 GB, free: 4.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4835, allocations: 0 / 0.5825 GB, free: 4.57 MB / 414.1 MB Notification: Performance of Templates: time 0.04954/0.5331, allocations: 29.82 MB / 0.6116 GB, free: 6.812 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches