Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.6 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.0007909, allocations: 92.12 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3002/0.3002, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.0002813, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.294, allocations: 62.96 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02149/0.3155, allocations: 34.13 MB / 0.5492 GB, free: 12.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.329, allocations: 7.234 MB / 0.5563 GB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00543/0.3344, allocations: 156 kB / 0.5564 GB, free: 8.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.3385, allocations: 1.513 MB / 0.5579 GB, free: 7.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.3509, allocations: 4.411 MB / 0.5622 GB, free: 5.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3525, allocations: 282 kB / 0.5625 GB, free: 5.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.3563, allocations: 2.729 MB / 0.5651 GB, free: 4.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.3601, allocations: 3.238 MB / 0.5683 GB, free: 2.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3612, allocations: 0.6901 MB / 0.569 GB, free: 2.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3624, allocations: 1.029 MB / 0.57 GB, free: 1.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.3626, allocations: 91.94 kB / 0.5701 GB, free: 1.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.3636, allocations: 0.6201 MB / 0.5707 GB, free: 1.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.3641, allocations: 0.9895 MB / 0.5716 GB, free: 200 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008913/0.365, allocations: 1.151 MB / 0.5728 GB, free: 15.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.3679, allocations: 3.417 MB / 0.5761 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3679, allocations: 4 kB / 0.5761 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3679, allocations: 0 / 0.5761 GB, free: 11.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.57e-05/0.368, allocations: 0 / 0.5761 GB, free: 11.6 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.00342/0.3714, allocations: 2.42 MB / 0.5785 GB, free: 9.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3715, allocations: 8.031 kB / 0.5785 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.3761, allocations: 1.643 MB / 0.5801 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.3784, allocations: 1.336 MB / 0.5814 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.3785, allocations: 151.8 kB / 0.5815 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.3788, allocations: 187.9 kB / 0.5817 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008507/0.3873, allocations: 6.425 MB / 0.588 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.3874, allocations: 11.88 kB / 0.588 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3876, allocations: 87.91 kB / 0.5881 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.3895, allocations: 1.403 MB / 0.5894 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009291/0.3988, allocations: 5.463 MB / 0.5948 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02475/0.4236, allocations: 20.58 MB / 0.6149 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.4276, allocations: 2.085 MB / 0.6169 GB, free: 0.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/0.4285, allocations: 0.6875 MB / 0.6176 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005588/0.4341, allocations: 3.511 MB / 0.621 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4341, allocations: 43 kB / 0.6211 GB, free: 12.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.4341, allocations: 0 / 0.6211 GB, free: 12.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004842/0.439, allocations: 1.966 MB / 0.623 GB, free: 10.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.4391, allocations: 55.84 kB / 0.623 GB, free: 10.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.4418, allocations: 1.958 MB / 0.6249 GB, free: 8.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.4419, allocations: 33.7 kB / 0.625 GB, free: 8.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.4431, allocations: 1.883 MB / 0.6268 GB, free: 6.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.4434, allocations: 312.1 kB / 0.6271 GB, free: 6.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.4436, allocations: 56 kB / 0.6272 GB, free: 5.988 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.4439, allocations: 493.3 kB / 0.6276 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4452, allocations: 0.8803 MB / 0.6285 GB, free: 4.613 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.4479, allocations: 2.766 MB / 0.6312 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/0.4518, allocations: 3.978 MB / 0.6351 GB, free: 11.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.005e-05/0.4519, allocations: 20 kB / 0.6351 GB, free: 11.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005352/0.4572, allocations: 3.531 MB / 0.6385 GB, free: 8.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.4573, allocations: 40.92 kB / 0.6386 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/0.4574, allocations: 67.94 kB / 0.6386 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.271e-05/0.4575, allocations: 88 kB / 0.6387 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.4593, allocations: 0.6628 MB / 0.6394 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.4595, allocations: 131.5 kB / 0.6395 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.4613, allocations: 419.5 kB / 0.6399 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.4615, allocations: 188 kB / 0.6401 GB, free: 6.848 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001946/0.4635, allocations: 1.381 MB / 0.6414 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.4637, allocations: 153.9 kB / 0.6416 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.4641, allocations: 201.2 kB / 0.6418 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.4641, allocations: 15.97 kB / 0.6418 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4641, allocations: 0 / 0.6418 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4642, allocations: 4 kB / 0.6418 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.4707, allocations: 4.145 MB / 0.6458 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.4708, allocations: 7.984 kB / 0.6458 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.4712, allocations: 91.89 kB / 0.6459 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.4712, allocations: 8 kB / 0.6459 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.4712, allocations: 19.98 kB / 0.646 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.4713, allocations: 11.94 kB / 0.646 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4713, allocations: 11.94 kB / 0.646 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4727, allocations: 1.23 MB / 0.6472 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.4731, allocations: 254.6 kB / 0.6474 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.4734, allocations: 27.97 kB / 0.6475 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.4739, allocations: 23.98 kB / 0.6475 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.474, allocations: 51.77 kB / 0.6475 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.4741, allocations: 31.98 kB / 0.6476 GB, free: 14.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001869/0.476, allocations: 1.275 MB / 0.6488 GB, free: 13.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.476, allocations: 4 kB / 0.6488 GB, free: 13.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002453/0.4784, allocations: 0.7076 MB / 0.6495 GB, free: 12.95 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.4788, allocations: 151 kB / 0.6496 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.4817, allocations: 2.008 MB / 0.6516 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4818, allocations: 5 kB / 0.6516 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.4823, allocations: 464 kB / 0.652 GB, free: 10.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.4848, allocations: 226.7 kB / 0.6523 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.4947, allocations: 6.577 MB / 0.6587 GB, free: 3.434 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/0.4977, allocations: 2.328 MB / 0.661 GB, free: 1.074 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.4983, allocations: 135.4 kB / 0.6611 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/0.4983, allocations: 0 / 0.6611 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of Templates: time 0.246/0.7443, allocations: 29.99 MB / 0.6904 GB, free: 125 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches