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.00077/0.0007702, allocations: 96.73 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009683/0.0009688, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003262, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 63.57 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03053/0.1748, allocations: 29.38 MB / 0.5005 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1892, allocations: 6.275 MB / 0.5066 GB, free: 356 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/0.1942, allocations: 119.8 kB / 0.5067 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.258/0.4522, allocations: 286.5 kB / 0.507 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.4557, allocations: 1.049 MB / 0.508 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.4564, allocations: 265.6 kB / 0.5083 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.461, allocations: 3.363 MB / 0.5115 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/0.466, allocations: 3.335 MB / 0.5148 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.4671, allocations: 0.6272 MB / 0.5154 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4686, allocations: 1.033 MB / 0.5164 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4688, allocations: 84.84 kB / 0.5165 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4702, allocations: 0.6304 MB / 0.5171 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.4712, allocations: 0.988 MB / 0.5181 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009541/0.4722, allocations: 1.18 MB / 0.5192 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.4777, allocations: 3.996 MB / 0.5231 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4778, allocations: 3.938 kB / 0.5231 GB, free: 8.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4778, allocations: 0 / 0.5231 GB, free: 8.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.4779, allocations: 1.25 kB / 0.5231 GB, free: 8.316 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.005058/0.483, allocations: 2.353 MB / 0.5254 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.483, allocations: 8.406 kB / 0.5254 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.4883, allocations: 1.606 MB / 0.527 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.4911, allocations: 1.318 MB / 0.5283 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.4912, allocations: 143.4 kB / 0.5284 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/0.4916, allocations: 196 kB / 0.5286 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/0.5008, allocations: 6.247 MB / 0.5347 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/0.5009, allocations: 12.81 kB / 0.5347 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.5012, allocations: 87.12 kB / 0.5348 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.5031, allocations: 1.34 MB / 0.5361 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008831/0.5119, allocations: 5.335 MB / 0.5413 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/0.5432, allocations: 20.14 MB / 0.561 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.5476, allocations: 2.078 MB / 0.563 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.5487, allocations: 0.6914 MB / 0.5637 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006036/0.5547, allocations: 3.489 MB / 0.5671 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.5548, allocations: 37.62 kB / 0.5671 GB, free: 3.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.5548, allocations: 0 / 0.5671 GB, free: 3.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005243/0.56, allocations: 1.977 MB / 0.5691 GB, free: 1.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.5601, allocations: 59.83 kB / 0.5691 GB, free: 1.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.5631, allocations: 1.94 MB / 0.571 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.5632, allocations: 37.7 kB / 0.5711 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.5644, allocations: 1.83 MB / 0.5729 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.5647, allocations: 320.3 kB / 0.5732 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.5651, allocations: 276.1 kB / 0.5734 GB, free: 13.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5652, allocations: 361.9 kB / 0.5738 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5665, allocations: 0.8842 MB / 0.5746 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.5693, allocations: 2.749 MB / 0.5773 GB, free: 8.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.5735, allocations: 3.963 MB / 0.5812 GB, free: 3.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/0.5735, allocations: 20 kB / 0.5812 GB, free: 3.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00536/0.5789, allocations: 3.53 MB / 0.5847 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.5789, allocations: 38.03 kB / 0.5847 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.6e-05/0.579, allocations: 64 kB / 0.5847 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.002e-05/0.5791, allocations: 88.75 kB / 0.5848 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.581, allocations: 0.6547 MB / 0.5855 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.5811, allocations: 132.9 kB / 0.5856 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.583, allocations: 415.5 kB / 0.586 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.5833, allocations: 193.9 kB / 0.5862 GB, free: 15.21 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.002275/0.5856, allocations: 1.35 MB / 0.5875 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.5858, allocations: 153.9 kB / 0.5876 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.5862, allocations: 196.9 kB / 0.5878 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.5863, allocations: 10.66 kB / 0.5878 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5863, allocations: 0 / 0.5878 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5863, allocations: 3.984 kB / 0.5878 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/0.5933, allocations: 4.075 MB / 0.5918 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.5934, allocations: 8 kB / 0.5918 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.5937, allocations: 103.8 kB / 0.5919 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5938, allocations: 8 kB / 0.5919 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.5938, allocations: 17.95 kB / 0.592 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/0.5938, allocations: 19.86 kB / 0.592 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5939, allocations: 7.938 kB / 0.592 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5953, allocations: 1.234 MB / 0.5932 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.5957, allocations: 254.7 kB / 0.5934 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.5959, allocations: 19.98 kB / 0.5935 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.5964, allocations: 34.11 kB / 0.5935 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.5965, allocations: 47.83 kB / 0.5935 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.5966, allocations: 31.98 kB / 0.5936 GB, free: 7.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.5985, allocations: 1.267 MB / 0.5948 GB, free: 6.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5985, allocations: 0 / 0.5948 GB, free: 6.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002517/0.601, allocations: 0.6827 MB / 0.5955 GB, free: 5.461 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.0003476/0.6014, allocations: 142.1 kB / 0.5956 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.6044, allocations: 2.022 MB / 0.5976 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6044, allocations: 3.938 kB / 0.5976 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.605, allocations: 465 kB / 0.598 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.6074, allocations: 215.5 kB / 0.5982 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.6185, allocations: 6.373 MB / 0.6045 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.6219, allocations: 2.271 MB / 0.6067 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002439/0.6243, allocations: 0.9557 MB / 0.6076 GB, free: 8.895 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.6247, allocations: 123.4 kB / 0.6077 GB, free: 8.773 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6247, allocations: 0 / 0.6077 GB, free: 8.773 MB / 462.1 MB Notification: Performance of Templates: time 0.02981/0.6546, allocations: 13.57 MB / 0.621 GB, free: 11.29 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches