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/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.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/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008543/0.0008542, allocations: 105.8 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3069/0.3069, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 63.24 MB / 0.5192 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.3846, allocations: 103.9 MB / 0.6207 GB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.3849, allocations: 83.97 kB / 0.6208 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.133/0.5179, allocations: 55.1 MB / 0.6746 GB, free: 7.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.5179, allocations: 0 / 0.6746 GB, free: 7.938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.5181, allocations: 51.94 kB / 0.6746 GB, free: 7.887 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.006285/0.5244, allocations: 2.628 MB / 0.6772 GB, free: 5.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5244, allocations: 12.03 kB / 0.6772 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006901/0.5313, allocations: 1.798 MB / 0.679 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.5355, allocations: 1.672 MB / 0.6806 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.5357, allocations: 205.5 kB / 0.6808 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.5367, allocations: 271.9 kB / 0.6811 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2176/0.7543, allocations: 6.312 MB / 0.6872 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.7544, allocations: 16.38 kB / 0.6872 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.7547, allocations: 125.2 kB / 0.6874 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006447/0.7554, allocations: 0.64 MB / 0.688 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008006/0.7634, allocations: 5.503 MB / 0.6934 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.7856, allocations: 22.13 MB / 0.715 GB, free: 93.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.7894, allocations: 2.086 MB / 0.717 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005539/0.7949, allocations: 3.526 MB / 0.7204 GB, free: 90.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.795, allocations: 45.83 kB / 0.7205 GB, free: 90.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.075e-06/0.795, allocations: 0 / 0.7205 GB, free: 90.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004625/0.7996, allocations: 2.225 MB / 0.7227 GB, free: 89.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.7996, allocations: 60.84 kB / 0.7227 GB, free: 89.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.8018, allocations: 1.739 MB / 0.7244 GB, free: 88.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.8019, allocations: 35.92 kB / 0.7244 GB, free: 88.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.8028, allocations: 1.888 MB / 0.7263 GB, free: 87.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.803, allocations: 316.7 kB / 0.7266 GB, free: 87.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.8031, allocations: 56 kB / 0.7266 GB, free: 87.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.8033, allocations: 492.9 kB / 0.7271 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.8043, allocations: 0.8578 MB / 0.728 GB, free: 86.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.8059, allocations: 2.702 MB / 0.7306 GB, free: 83.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.8073, allocations: 1.525 MB / 0.7321 GB, free: 83.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/0.8073, allocations: 19.5 kB / 0.7321 GB, free: 83.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00381/0.8112, allocations: 3.447 MB / 0.7355 GB, free: 81.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.8112, allocations: 33.84 kB / 0.7355 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/0.8113, allocations: 70.52 kB / 0.7356 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.842e-05/0.8114, allocations: 98.94 kB / 0.7357 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.8129, allocations: 0.6617 MB / 0.7363 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.66e-05/0.813, allocations: 131.4 kB / 0.7364 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.8147, allocations: 406 kB / 0.7368 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.8149, allocations: 183.2 kB / 0.737 GB, free: 81.53 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.001909/0.8168, allocations: 1.378 MB / 0.7383 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.817, allocations: 161.2 kB / 0.7385 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.8173, allocations: 195.6 kB / 0.7387 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8173, allocations: 13.45 kB / 0.7387 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.8173, allocations: 0 / 0.7387 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8173, allocations: 2.953 kB / 0.7387 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.8227, allocations: 4.146 MB / 0.7427 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8227, allocations: 7.094 kB / 0.7428 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.8231, allocations: 101 kB / 0.7428 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.8231, allocations: 15.14 kB / 0.7429 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.8231, allocations: 15.66 kB / 0.7429 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.8231, allocations: 18.67 kB / 0.7429 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8231, allocations: 11.91 kB / 0.7429 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.8243, allocations: 1.649 MB / 0.7445 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.8246, allocations: 264.7 kB / 0.7448 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.8247, allocations: 14.61 kB / 0.7448 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.8252, allocations: 26.8 kB / 0.7448 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.8253, allocations: 51.14 kB / 0.7449 GB, free: 77.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.8253, allocations: 28.8 kB / 0.7449 GB, free: 77.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.8266, allocations: 1.273 MB / 0.7461 GB, free: 77.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8266, allocations: 3.938 kB / 0.7461 GB, free: 77.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002196/0.8288, allocations: 0.7115 MB / 0.7468 GB, free: 76.79 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.0002373/0.829, allocations: 143.5 kB / 0.747 GB, free: 76.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.8311, allocations: 1.984 MB / 0.7489 GB, free: 76.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8311, allocations: 0 / 0.7489 GB, free: 76.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.8315, allocations: 456.6 kB / 0.7493 GB, free: 75.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.8324, allocations: 229.2 kB / 0.7496 GB, free: 75.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008779/0.8412, allocations: 6.231 MB / 0.7556 GB, free: 72.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.8431, allocations: 2.379 MB / 0.758 GB, free: 71.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002015/0.8451, allocations: 0.9603 MB / 0.7589 GB, free: 71.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.8454, allocations: 118.6 kB / 0.759 GB, free: 71.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8454, allocations: 0 / 0.759 GB, free: 71.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02234/0.8677, allocations: 13.81 MB / 0.7725 GB, free: 64.72 MB / 490.7 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches