Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008969/0.0008971, allocations: 108 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3327/0.3327, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001025, allocations: 56.16 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1103, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2724/0.3828, allocations: 101 MB / 0.5742 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04335/0.4262, allocations: 19.14 MB / 0.5929 GB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02129/0.4475, allocations: 448.3 kB / 0.5933 GB, free: 1.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.4588, allocations: 6.102 MB / 0.5993 GB, free: 14.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.4693, allocations: 2.913 MB / 0.6021 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.4731, allocations: 1.492 MB / 0.6036 GB, free: 12.22 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.4889, allocations: 11.95 MB / 0.6153 GB, free: 1.992 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.5001, allocations: 7.623 MB / 0.6227 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005974/0.5061, allocations: 2.92 MB / 0.6256 GB, free: 7.402 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.5132, allocations: 4.51 MB / 0.63 GB, free: 2.879 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002749/0.516, allocations: 492 kB / 0.6304 GB, free: 2.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.5209, allocations: 1.381 MB / 0.6318 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.5262, allocations: 3.744 MB / 0.6354 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007524/0.5337, allocations: 4.143 MB / 0.6395 GB, free: 9.094 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.5482, allocations: 12.48 MB / 0.6517 GB, free: 12.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5483, allocations: 0 / 0.6517 GB, free: 12.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5483, allocations: 0 / 0.6517 GB, free: 12.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004946/0.5488, allocations: 0 / 0.6517 GB, free: 12.57 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02141/0.5702, allocations: 9.245 MB / 0.6607 GB, free: 3.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5703, allocations: 8.031 kB / 0.6607 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.5815, allocations: 2.669 MB / 0.6633 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.5921, allocations: 4.946 MB / 0.6681 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/0.5926, allocations: 471.8 kB / 0.6686 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/0.595, allocations: 0.5933 MB / 0.6692 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/0.6275, allocations: 18.73 MB / 0.6875 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/0.6277, allocations: 79.25 kB / 0.6875 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000851/0.6286, allocations: 283.7 kB / 0.6878 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004997/0.6336, allocations: 3.445 MB / 0.6912 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.39/1.024, allocations: 14.61 MB / 0.7054 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09544/1.119, allocations: 70.57 MB / 0.7744 GB, free: 99.14 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/1.135, allocations: 6.13 MB / 0.7803 GB, free: 95.93 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/1.139, allocations: 2.456 MB / 0.7827 GB, free: 94.7 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/1.157, allocations: 10.84 MB / 0.7933 GB, free: 85.04 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.158, allocations: 60.56 kB / 0.7934 GB, free: 84.97 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=238): time 4.518e-06/1.158, allocations: 0 / 0.7934 GB, free: 84.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=262): time 0.03762/1.195, allocations: 15.85 MB / 0.8089 GB, free: 69.15 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.195, allocations: 154.5 kB / 0.809 GB, free: 68.97 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007432/1.203, allocations: 6.636 MB / 0.8155 GB, free: 62.34 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005507/1.203, allocations: 65.7 kB / 0.8156 GB, free: 62.27 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002938/1.206, allocations: 5.533 MB / 0.821 GB, free: 56.67 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.207, allocations: 1.011 MB / 0.8219 GB, free: 55.65 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002181/1.209, allocations: 1.837 MB / 0.8237 GB, free: 53.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.958e-05/1.209, allocations: 309.1 kB / 0.824 GB, free: 53.49 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/1.213, allocations: 2.661 MB / 0.8266 GB, free: 50.82 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005791/1.219, allocations: 8.371 MB / 0.8348 GB, free: 39.61 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.23, allocations: 12 MB / 0.8465 GB, free: 24.79 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/1.23, allocations: 60 kB / 0.8466 GB, free: 24.73 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01833/1.249, allocations: 10.72 MB / 0.8571 GB, free: 14 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.249, allocations: 93.88 kB / 0.8571 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/1.249, allocations: 204 kB / 0.8573 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/1.249, allocations: 271.9 kB / 0.8576 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00617/1.255, allocations: 2.137 MB / 0.8597 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002467/1.256, allocations: 398.5 kB / 0.8601 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007239/1.263, allocations: 455.6 kB / 0.8605 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009512/1.264, allocations: 0.5547 MB / 0.861 GB, free: 9.914 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.004424/1.268, allocations: 3.621 MB / 0.8646 GB, free: 6.277 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/1.269, allocations: 0.5668 MB / 0.8651 GB, free: 5.703 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.273, allocations: 2.802 MB / 0.8679 GB, free: 2.883 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/1.273, allocations: 35.92 kB / 0.8679 GB, free: 2.848 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.273, allocations: 0 / 0.8679 GB, free: 2.848 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.273, allocations: 7.969 kB / 0.8679 GB, free: 2.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.253/1.526, allocations: 26.56 MB / 0.8938 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.284e-05/1.526, allocations: 55.41 kB / 0.8939 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.528, allocations: 0.5171 MB / 0.8944 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.422e-05/1.528, allocations: 69.72 kB / 0.8945 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.528, allocations: 119.4 kB / 0.8946 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001167/1.528, allocations: 106.1 kB / 0.8947 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001001/1.528, allocations: 85.5 kB / 0.8948 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008768/1.537, allocations: 8.175 MB / 0.9027 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.539, allocations: 0.6794 MB / 0.9034 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006911/1.539, allocations: 126.4 kB / 0.9035 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.542, allocations: 133.5 kB / 0.9037 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.542, allocations: 359.4 kB / 0.904 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.542, allocations: 153.2 kB / 0.9041 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005813/1.548, allocations: 4.156 MB / 0.9082 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/1.548, allocations: 0 / 0.9082 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008454/1.556, allocations: 1.512 MB / 0.9097 GB, free: 142.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0007919/1.557, allocations: 297.8 kB / 0.91 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00897/1.566, allocations: 6.144 MB / 0.916 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.604e-05/1.566, allocations: 12.75 kB / 0.916 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.569, allocations: 1.489 MB / 0.9174 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/1.575, allocations: 0.901 MB / 0.9183 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/1.608, allocations: 22.61 MB / 0.9404 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007495/1.616, allocations: 5.669 MB / 0.9459 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007526/1.623, allocations: 2.785 MB / 0.9487 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.624, allocations: 399.7 kB / 0.949 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of SimCode: time 6.82e-07/1.624, allocations: 0 / 0.949 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.08674/1.711, allocations: 48.71 MB / 0.9966 GB, free: 80.18 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches