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.001105/0.001105, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 72.17 kB / 481.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4267, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01359/0.4403, allocations: 9.524 MB / 0.5403 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.449, allocations: 2.921 MB / 0.5431 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.451, allocations: 52.66 kB / 0.5432 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00411/0.4551, allocations: 1.995 MB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.4588, allocations: 1.132 MB / 0.5462 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.4598, allocations: 287.3 kB / 0.5465 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.4635, allocations: 2.33 MB / 0.5488 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.4665, allocations: 2.308 MB / 0.551 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.4679, allocations: 0.8683 MB / 0.5519 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.4695, allocations: 1.156 MB / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.4698, allocations: 196 kB / 0.5532 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4711, allocations: 0.7021 MB / 0.5539 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009418/0.472, allocations: 1.11 MB / 0.555 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.4733, allocations: 1.308 MB / 0.5562 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.4779, allocations: 4.319 MB / 0.5605 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4779, allocations: 0 / 0.5605 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4779, allocations: 0 / 0.5605 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.386e-05/0.478, allocations: 4 kB / 0.5605 GB, free: 3.441 MB / 414.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.005025/0.483, allocations: 2.857 MB / 0.5633 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4831, allocations: 12.03 kB / 0.5633 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.4881, allocations: 1.549 MB / 0.5648 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.4906, allocations: 1.347 MB / 0.5661 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.4907, allocations: 144 kB / 0.5662 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.4911, allocations: 191.8 kB / 0.5664 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009632/0.5007, allocations: 6.25 MB / 0.5725 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.5008, allocations: 11.88 kB / 0.5725 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.5011, allocations: 87.91 kB / 0.5726 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/0.5034, allocations: 1.34 MB / 0.5739 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009831/0.5132, allocations: 5.323 MB / 0.5791 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/0.5388, allocations: 20.01 MB / 0.5987 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.5429, allocations: 2.088 MB / 0.6007 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.5438, allocations: 0.6857 MB / 0.6014 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005818/0.5497, allocations: 3.491 MB / 0.6048 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.5497, allocations: 35 kB / 0.6048 GB, free: 4.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.197e-06/0.5497, allocations: 0 / 0.6048 GB, free: 4.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005303/0.555, allocations: 1.981 MB / 0.6067 GB, free: 2.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5551, allocations: 55.84 kB / 0.6068 GB, free: 2.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.5576, allocations: 1.937 MB / 0.6087 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.5576, allocations: 33.7 kB / 0.6087 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.5588, allocations: 1.836 MB / 0.6105 GB, free: 14.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.5591, allocations: 312.1 kB / 0.6108 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.5598, allocations: 0.619 MB / 0.6114 GB, free: 13.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.56, allocations: 361.8 kB / 0.6118 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.5613, allocations: 0.8881 MB / 0.6126 GB, free: 12.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.5638, allocations: 2.755 MB / 0.6153 GB, free: 8.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.5682, allocations: 3.96 MB / 0.6192 GB, free: 4.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/0.5682, allocations: 16 kB / 0.6192 GB, free: 4.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005354/0.5736, allocations: 3.526 MB / 0.6227 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.5737, allocations: 32 kB / 0.6227 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-05/0.5737, allocations: 68 kB / 0.6227 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.189e-05/0.5738, allocations: 84 kB / 0.6228 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.5756, allocations: 0.6634 MB / 0.6235 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.199e-05/0.5757, allocations: 123.5 kB / 0.6236 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.5775, allocations: 419.6 kB / 0.624 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/0.5778, allocations: 196 kB / 0.6242 GB, free: 14.99 MB / 494.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.001851/0.5796, allocations: 1.342 MB / 0.6255 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.5798, allocations: 157.8 kB / 0.6256 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.5802, allocations: 196.9 kB / 0.6258 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.5802, allocations: 11.98 kB / 0.6258 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.5802, allocations: 0 / 0.6258 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5803, allocations: 0 / 0.6258 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.5869, allocations: 4.073 MB / 0.6298 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5869, allocations: 8.125 kB / 0.6298 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.5873, allocations: 99.81 kB / 0.6299 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.5873, allocations: 8 kB / 0.6299 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.5873, allocations: 23.94 kB / 0.63 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.5874, allocations: 11.98 kB / 0.63 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.5874, allocations: 7.938 kB / 0.63 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5888, allocations: 1.23 MB / 0.6312 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.5891, allocations: 250.6 kB / 0.6314 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5893, allocations: 23.92 kB / 0.6314 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.5897, allocations: 27.92 kB / 0.6315 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5899, allocations: 59.8 kB / 0.6315 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.5899, allocations: 24 kB / 0.6315 GB, free: 7.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001695/0.5916, allocations: 1.271 MB / 0.6328 GB, free: 5.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5916, allocations: 0 / 0.6328 GB, free: 5.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002462/0.5941, allocations: 0.6804 MB / 0.6334 GB, free: 5.234 MB / 494.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.0003258/0.5944, allocations: 151 kB / 0.6336 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/0.5973, allocations: 2.037 MB / 0.6356 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5973, allocations: 0 / 0.6356 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.5978, allocations: 459 kB / 0.636 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5989, allocations: 247.4 kB / 0.6363 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.6072, allocations: 5.011 MB / 0.6411 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.6095, allocations: 2.263 MB / 0.6434 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001957/0.6115, allocations: 0.948 MB / 0.6443 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6117, allocations: 123.4 kB / 0.6444 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6117, allocations: 0 / 0.6444 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.0279/0.6396, allocations: 15.03 MB / 0.6591 GB, free: 10.89 MB / 0.5137 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches