Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009806/0.0009806, allocations: 95.94 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02908/0.1431, allocations: 29.39 MB / 0.5011 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1568, allocations: 6.271 MB / 0.5072 GB, free: 328 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.1616, allocations: 127.8 kB / 0.5073 GB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.219/0.3806, allocations: 281.1 kB / 0.5076 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3838, allocations: 1.038 MB / 0.5086 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.3848, allocations: 269.2 kB / 0.5089 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00603/0.3909, allocations: 3.366 MB / 0.5122 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005744/0.3966, allocations: 3.342 MB / 0.5154 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.3982, allocations: 0.6256 MB / 0.516 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.4003, allocations: 1.029 MB / 0.517 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005795/0.4009, allocations: 85.34 kB / 0.5171 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.4027, allocations: 0.6361 MB / 0.5177 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.4043, allocations: 0.991 MB / 0.5187 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.4062, allocations: 1.177 MB / 0.5199 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.4102, allocations: 3.318 MB / 0.5231 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4102, allocations: 0.9062 kB / 0.5231 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4102, allocations: 0 / 0.5231 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.4103, allocations: 0 / 0.5231 GB, free: 8.711 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.00459/0.4149, allocations: 2.345 MB / 0.5254 GB, free: 7.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.415, allocations: 10.22 kB / 0.5254 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/0.4202, allocations: 1.604 MB / 0.527 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.4227, allocations: 1.315 MB / 0.5283 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4228, allocations: 146.6 kB / 0.5284 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/0.4235, allocations: 185.8 kB / 0.5286 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.4347, allocations: 6.249 MB / 0.5347 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/0.4348, allocations: 14.75 kB / 0.5347 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/0.4354, allocations: 93.11 kB / 0.5348 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/0.4373, allocations: 1.341 MB / 0.5361 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.4477, allocations: 5.333 MB / 0.5413 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02891/0.4767, allocations: 20.13 MB / 0.561 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/0.4812, allocations: 2.084 MB / 0.563 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.4823, allocations: 0.6953 MB / 0.5637 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006233/0.4885, allocations: 3.487 MB / 0.5671 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4886, allocations: 45.72 kB / 0.5671 GB, free: 4.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.487e-06/0.4886, allocations: 0 / 0.5671 GB, free: 4.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005397/0.494, allocations: 1.97 MB / 0.569 GB, free: 2.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4941, allocations: 63.78 kB / 0.5691 GB, free: 2.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.4974, allocations: 1.944 MB / 0.571 GB, free: 488 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.4975, allocations: 33.7 kB / 0.571 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.4988, allocations: 1.835 MB / 0.5728 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4991, allocations: 320.8 kB / 0.5731 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.4996, allocations: 272.1 kB / 0.5734 GB, free: 14.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4997, allocations: 358.9 kB / 0.5737 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.5011, allocations: 0.8842 MB / 0.5746 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.504, allocations: 2.754 MB / 0.5773 GB, free: 9.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/0.5083, allocations: 3.962 MB / 0.5812 GB, free: 4.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-05/0.5084, allocations: 16 kB / 0.5812 GB, free: 4.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005952/0.5144, allocations: 3.537 MB / 0.5846 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.5145, allocations: 34.34 kB / 0.5847 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.5146, allocations: 68 kB / 0.5847 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.272e-05/0.5147, allocations: 84 kB / 0.5848 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.5167, allocations: 0.6581 MB / 0.5854 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001154/0.5168, allocations: 125.2 kB / 0.5856 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.5189, allocations: 426.5 kB / 0.586 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.5192, allocations: 192 kB / 0.5862 GB, free: 15.85 MB / 446.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.002385/0.5216, allocations: 1.342 MB / 0.5875 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.5219, allocations: 153.9 kB / 0.5876 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.5224, allocations: 196.9 kB / 0.5878 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.5224, allocations: 11.83 kB / 0.5878 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.5224, allocations: 4 kB / 0.5878 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5224, allocations: 4 kB / 0.5878 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.5298, allocations: 4.072 MB / 0.5918 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5299, allocations: 8 kB / 0.5918 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.5303, allocations: 92.62 kB / 0.5919 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.5303, allocations: 8 kB / 0.5919 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.5304, allocations: 26.34 kB / 0.5919 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.087e-05/0.5304, allocations: 19.86 kB / 0.5919 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.5304, allocations: 11.94 kB / 0.592 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5319, allocations: 1.226 MB / 0.5932 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.5323, allocations: 258.7 kB / 0.5934 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.5326, allocations: 16 kB / 0.5934 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.5332, allocations: 27.91 kB / 0.5934 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.5333, allocations: 62.5 kB / 0.5935 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.5334, allocations: 28 kB / 0.5935 GB, free: 8.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.5354, allocations: 1.268 MB / 0.5948 GB, free: 6.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5354, allocations: 0 / 0.5948 GB, free: 6.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002703/0.5381, allocations: 0.6765 MB / 0.5954 GB, free: 6.109 MB / 446.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.0003426/0.5384, allocations: 146.1 kB / 0.5956 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.5416, allocations: 2.022 MB / 0.5975 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5416, allocations: 0 / 0.5975 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.5421, allocations: 456.8 kB / 0.598 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.5447, allocations: 232.7 kB / 0.5982 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5553, allocations: 6.684 MB / 0.6047 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/0.5581, allocations: 2.271 MB / 0.6069 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.5585, allocations: 143.4 kB / 0.6071 GB, free: 10.03 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5586, allocations: 3.938 kB / 0.6071 GB, free: 10.03 MB / 462.1 MB Notification: Performance of Templates: time 0.04387/0.6024, allocations: 29.31 MB / 0.6357 GB, free: 12.77 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches