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.001732/0.001732, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.847/1.847, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4525/0.4525, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 77.34 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2026, allocations: 62.44 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.05713/0.2598, allocations: 30.31 MB / 0.4985 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.2839, allocations: 6.278 MB / 0.5046 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008608/0.2926, allocations: 127.7 kB / 0.5047 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.352/0.6447, allocations: 1.923 MB / 0.5066 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.6499, allocations: 1.034 MB / 0.5076 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.6515, allocations: 269.2 kB / 0.5079 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006045/0.6576, allocations: 2.35 MB / 0.5102 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.6636, allocations: 2.414 MB / 0.5125 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.6668, allocations: 0.8888 MB / 0.5134 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/0.6707, allocations: 1.26 MB / 0.5146 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.6719, allocations: 192.9 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.6749, allocations: 0.716 MB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.6779, allocations: 1.119 MB / 0.5166 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.6812, allocations: 1.319 MB / 0.5179 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007614/0.6889, allocations: 3.429 MB / 0.5213 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.689, allocations: 1.375 kB / 0.5213 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.689, allocations: 0 / 0.5213 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.6892, allocations: 0 / 0.5213 GB, free: 9.25 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.01337/0.7026, allocations: 2.869 MB / 0.5241 GB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.7027, allocations: 9.562 kB / 0.5241 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.7138, allocations: 1.558 MB / 0.5256 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.719, allocations: 1.315 MB / 0.5269 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.7192, allocations: 146.6 kB / 0.527 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.7205, allocations: 182.5 kB / 0.5272 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.7399, allocations: 6.256 MB / 0.5333 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-05/0.7401, allocations: 11.38 kB / 0.5333 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007059/0.7408, allocations: 89.02 kB / 0.5334 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.7441, allocations: 1.345 MB / 0.5347 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.7624, allocations: 5.331 MB / 0.5399 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05374/0.8162, allocations: 20.12 MB / 0.5596 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008826/0.8251, allocations: 2.082 MB / 0.5616 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.8271, allocations: 0.6959 MB / 0.5623 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.8392, allocations: 3.486 MB / 0.5657 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.8393, allocations: 39 kB / 0.5657 GB, free: 3.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.881e-06/0.8393, allocations: 0 / 0.5657 GB, free: 3.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.01145/0.8508, allocations: 1.983 MB / 0.5677 GB, free: 1.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.8509, allocations: 55.84 kB / 0.5677 GB, free: 1.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/0.8561, allocations: 1.929 MB / 0.5696 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.8564, allocations: 33.7 kB / 0.5696 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.8587, allocations: 1.846 MB / 0.5714 GB, free: 14.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.8593, allocations: 306 kB / 0.5717 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.8608, allocations: 0.6174 MB / 0.5723 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.8611, allocations: 361.9 kB / 0.5727 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.8637, allocations: 0.8842 MB / 0.5735 GB, free: 11.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004555/0.8683, allocations: 2.751 MB / 0.5762 GB, free: 8.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007849/0.8762, allocations: 3.978 MB / 0.5801 GB, free: 3.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.472e-05/0.8763, allocations: 20 kB / 0.5801 GB, free: 3.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01182/0.8882, allocations: 3.519 MB / 0.5836 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.8883, allocations: 32 kB / 0.5836 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.8885, allocations: 68 kB / 0.5837 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.8886, allocations: 84 kB / 0.5837 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/0.8925, allocations: 0.663 MB / 0.5844 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001366/0.8927, allocations: 127.9 kB / 0.5845 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.8963, allocations: 419.6 kB / 0.5849 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006438/0.8969, allocations: 184 kB / 0.5851 GB, free: 15.02 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.004338/0.9013, allocations: 1.348 MB / 0.5864 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.9018, allocations: 157.9 kB / 0.5865 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.9025, allocations: 200.8 kB / 0.5867 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/0.9026, allocations: 12 kB / 0.5867 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.9026, allocations: 0 / 0.5867 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9026, allocations: 0 / 0.5867 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.9158, allocations: 4.077 MB / 0.5907 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.9159, allocations: 8 kB / 0.5907 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/0.9168, allocations: 99.81 kB / 0.5908 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/0.9168, allocations: 8.75 kB / 0.5908 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.9169, allocations: 16 kB / 0.5909 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-05/0.917, allocations: 19.92 kB / 0.5909 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.917, allocations: 11.94 kB / 0.5909 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.9198, allocations: 1.233 MB / 0.5921 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.9206, allocations: 246.7 kB / 0.5923 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.921, allocations: 20 kB / 0.5923 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.922, allocations: 35.84 kB / 0.5924 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.9222, allocations: 51.83 kB / 0.5924 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.9223, allocations: 28 kB / 0.5925 GB, free: 7.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003733/0.9261, allocations: 1.263 MB / 0.5937 GB, free: 6.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.9261, allocations: 0 / 0.5937 GB, free: 6.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009232/0.9354, allocations: 0.691 MB / 0.5944 GB, free: 5.336 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.0006026/0.936, allocations: 131.6 kB / 0.5945 GB, free: 5.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/0.9468, allocations: 2.26 MB / 0.5967 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.9469, allocations: 0 / 0.5967 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.948, allocations: 447.9 kB / 0.5971 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007008/0.9551, allocations: 236 kB / 0.5973 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/0.9913, allocations: 6.661 MB / 0.6039 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00979/1.001, allocations: 2.275 MB / 0.6061 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008635/1.002, allocations: 143.4 kB / 0.6062 GB, free: 9.074 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/1.002, allocations: 0 / 0.6062 GB, free: 9.074 MB / 462.1 MB Notification: Performance of Templates: time 0.1203/1.122, allocations: 29.81 MB / 0.6353 GB, free: 11.33 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