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.0009661/0.0009662, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008317/0.0008315, allocations: 103 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3195/0.3195, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002319/0.0002319, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2792, allocations: 62.94 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3936, allocations: 103.9 MB / 0.6179 GB, free: 1.461 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3938, allocations: 79.95 kB / 0.618 GB, free: 1.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.5128, allocations: 53.85 MB / 0.6706 GB, free: 11.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5129, allocations: 0 / 0.6706 GB, free: 11.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.513, allocations: 55.98 kB / 0.6706 GB, free: 11.13 MB / 490.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.005497/0.5185, allocations: 2.546 MB / 0.6731 GB, free: 8.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5185, allocations: 12.02 kB / 0.6731 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006909/0.5255, allocations: 1.791 MB / 0.6749 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.5294, allocations: 1.692 MB / 0.6765 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.5297, allocations: 213.8 kB / 0.6767 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007093/0.5304, allocations: 268.3 kB / 0.677 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2174/0.7478, allocations: 6.289 MB / 0.6831 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.748, allocations: 19.5 kB / 0.6831 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004109/0.7484, allocations: 128.5 kB / 0.6833 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009032/0.7493, allocations: 0.6341 MB / 0.6839 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008989/0.7583, allocations: 5.458 MB / 0.6892 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.7807, allocations: 22.1 MB / 0.7108 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/0.7848, allocations: 2.075 MB / 0.7128 GB, free: 91.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.7859, allocations: 0.6859 MB / 0.7135 GB, free: 91.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006073/0.792, allocations: 3.499 MB / 0.7169 GB, free: 89.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.7921, allocations: 38.55 kB / 0.7169 GB, free: 89.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.7921, allocations: 0 / 0.7169 GB, free: 89.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005309/0.7974, allocations: 1.977 MB / 0.7189 GB, free: 89.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7975, allocations: 58.14 kB / 0.7189 GB, free: 89.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.8001, allocations: 1.942 MB / 0.7208 GB, free: 88.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.8002, allocations: 36.77 kB / 0.7209 GB, free: 88.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008444/0.801, allocations: 1.888 MB / 0.7227 GB, free: 87.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.8013, allocations: 315.9 kB / 0.723 GB, free: 87.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.8014, allocations: 60.17 kB / 0.7231 GB, free: 87.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.8016, allocations: 495.6 kB / 0.7235 GB, free: 86.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.8027, allocations: 0.8467 MB / 0.7244 GB, free: 86.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.8044, allocations: 2.714 MB / 0.727 GB, free: 83.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.8076, allocations: 3.906 MB / 0.7308 GB, free: 80.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-05/0.8076, allocations: 20.19 kB / 0.7309 GB, free: 80.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004204/0.8119, allocations: 3.446 MB / 0.7342 GB, free: 78.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.8119, allocations: 33.59 kB / 0.7342 GB, free: 78.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.724e-05/0.812, allocations: 64.44 kB / 0.7343 GB, free: 78.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.137e-05/0.812, allocations: 96.5 kB / 0.7344 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.8135, allocations: 0.6517 MB / 0.735 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.348e-05/0.8136, allocations: 132.8 kB / 0.7352 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.8152, allocations: 418.5 kB / 0.7356 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.8154, allocations: 185.9 kB / 0.7357 GB, free: 78.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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): 359 * 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 prepare postOptimizeDAE: time 0.001663/0.817, allocations: 1.363 MB / 0.7371 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.8172, allocations: 157.1 kB / 0.7372 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.8175, allocations: 201.2 kB / 0.7374 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.8176, allocations: 11.09 kB / 0.7374 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.8176, allocations: 3.844 kB / 0.7374 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.8176, allocations: 7.891 kB / 0.7374 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005079/0.8227, allocations: 4.156 MB / 0.7415 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.8227, allocations: 4.375 kB / 0.7415 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.823, allocations: 99.08 kB / 0.7416 GB, free: 76.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.823, allocations: 10.84 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.8231, allocations: 17.84 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8231, allocations: 10.59 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8231, allocations: 9.688 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.8241, allocations: 1.239 MB / 0.7429 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.8244, allocations: 261.4 kB / 0.7431 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.8245, allocations: 22.42 kB / 0.7431 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.825, allocations: 24.22 kB / 0.7431 GB, free: 75.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.825, allocations: 52.06 kB / 0.7432 GB, free: 75.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.8251, allocations: 28.22 kB / 0.7432 GB, free: 75.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.8264, allocations: 1.276 MB / 0.7445 GB, free: 74.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8264, allocations: 0 / 0.7445 GB, free: 74.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002018/0.8284, allocations: 0.7102 MB / 0.7452 GB, free: 74.39 MB / 490.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.0002267/0.8286, allocations: 150.3 kB / 0.7453 GB, free: 74.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.8308, allocations: 1.979 MB / 0.7472 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8308, allocations: 3.969 kB / 0.7472 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.8312, allocations: 457.3 kB / 0.7477 GB, free: 73.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8333, allocations: 227.2 kB / 0.7479 GB, free: 73.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.8407, allocations: 6.579 MB / 0.7543 GB, free: 69.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.8425, allocations: 2.326 MB / 0.7566 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.8429, allocations: 146.4 kB / 0.7567 GB, free: 68.67 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.8429, allocations: 0 / 0.7567 GB, free: 68.67 MB / 490.7 MB Notification: Performance of Templates: time 0.03617/0.8791, allocations: 30.15 MB / 0.7862 GB, free: 50.38 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/jenkins1/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