Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001043, allocations: 203.8 kB / 18.11 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007713/0.0007714, allocations: 92.03 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3506/0.3506, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3909, allocations: 62.96 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5298, allocations: 103.9 MB / 0.6199 GB, free: 1.414 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5302, allocations: 87.94 kB / 0.6199 GB, free: 1.332 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1303/0.6606, allocations: 53.84 MB / 0.6725 GB, free: 11.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6606, allocations: 0 / 0.6725 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.6608, allocations: 48 kB / 0.6726 GB, free: 11.08 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.00835/0.6691, allocations: 2.546 MB / 0.6751 GB, free: 8.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6692, allocations: 12.88 kB / 0.6751 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/0.6769, allocations: 1.795 MB / 0.6768 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.6817, allocations: 1.692 MB / 0.6785 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.682, allocations: 209.8 kB / 0.6787 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.6835, allocations: 272.3 kB / 0.6789 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3048/0.9883, allocations: 6.289 MB / 0.6851 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-05/0.9884, allocations: 18.12 kB / 0.6851 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003906/0.9888, allocations: 125 kB / 0.6852 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009278/0.9898, allocations: 0.637 MB / 0.6858 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.9998, allocations: 5.459 MB / 0.6912 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/1.025, allocations: 22.1 MB / 0.7127 GB, free: 93.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/1.029, allocations: 2.076 MB / 0.7148 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009647/1.03, allocations: 0.6833 MB / 0.7154 GB, free: 92.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006268/1.037, allocations: 3.497 MB / 0.7189 GB, free: 90.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.037, allocations: 40.69 kB / 0.7189 GB, free: 90.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.656e-06/1.037, allocations: 0 / 0.7189 GB, free: 90.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005214/1.042, allocations: 1.977 MB / 0.7208 GB, free: 90.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.042, allocations: 60.72 kB / 0.7209 GB, free: 90.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.045, allocations: 1.939 MB / 0.7228 GB, free: 89.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/1.045, allocations: 35.95 kB / 0.7228 GB, free: 89.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.046, allocations: 1.888 MB / 0.7247 GB, free: 88.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.046, allocations: 317.9 kB / 0.725 GB, free: 87.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/1.046, allocations: 55.72 kB / 0.725 GB, free: 87.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/1.046, allocations: 494.5 kB / 0.7255 GB, free: 87.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/1.048, allocations: 0.8481 MB / 0.7263 GB, free: 87.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/1.049, allocations: 2.717 MB / 0.729 GB, free: 84.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/1.053, allocations: 3.901 MB / 0.7328 GB, free: 80.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-05/1.053, allocations: 19.97 kB / 0.7328 GB, free: 80.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004531/1.058, allocations: 3.444 MB / 0.7362 GB, free: 79.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/1.058, allocations: 38.06 kB / 0.7362 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/1.058, allocations: 64.34 kB / 0.7363 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.375e-05/1.058, allocations: 91.62 kB / 0.7363 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.059, allocations: 0.6619 MB / 0.737 GB, free: 79.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.482e-05/1.059, allocations: 130.9 kB / 0.7371 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.061, allocations: 411.9 kB / 0.7375 GB, free: 79.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.062, allocations: 182.4 kB / 0.7377 GB, free: 79.26 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.002078/1.064, allocations: 1.362 MB / 0.739 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/1.064, allocations: 156.4 kB / 0.7392 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/1.064, allocations: 208.3 kB / 0.7394 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/1.064, allocations: 24.22 kB / 0.7394 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.064, allocations: 0 / 0.7394 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/1.064, allocations: 4 kB / 0.7394 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/1.07, allocations: 4.148 MB / 0.7434 GB, free: 76.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.07, allocations: 3.781 kB / 0.7434 GB, free: 76.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/1.07, allocations: 97.98 kB / 0.7435 GB, free: 76.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.07, allocations: 8.594 kB / 0.7435 GB, free: 76.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/1.07, allocations: 22.59 kB / 0.7436 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.07, allocations: 14.88 kB / 0.7436 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.071, allocations: 7.281 kB / 0.7436 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/1.072, allocations: 1.235 MB / 0.7448 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/1.072, allocations: 265.6 kB / 0.745 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/1.072, allocations: 14.91 kB / 0.7451 GB, free: 75.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/1.073, allocations: 31.33 kB / 0.7451 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/1.073, allocations: 47.64 kB / 0.7451 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/1.073, allocations: 31.61 kB / 0.7452 GB, free: 75.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001433/1.074, allocations: 1.27 MB / 0.7464 GB, free: 75.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 0.7464 GB, free: 75.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002396/1.077, allocations: 0.7184 MB / 0.7471 GB, free: 75.14 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.000251/1.077, allocations: 145.7 kB / 0.7472 GB, free: 75.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/1.079, allocations: 1.986 MB / 0.7492 GB, free: 74.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.079, allocations: 3.938 kB / 0.7492 GB, free: 74.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/1.08, allocations: 455.6 kB / 0.7496 GB, free: 74.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.082, allocations: 229.3 kB / 0.7498 GB, free: 74.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/1.09, allocations: 6.257 MB / 0.756 GB, free: 70.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/1.091, allocations: 2.323 MB / 0.7582 GB, free: 69.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002124/1.094, allocations: 0.9633 MB / 0.7592 GB, free: 69.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.094, allocations: 122.5 kB / 0.7593 GB, free: 69.54 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.094, allocations: 3.219 kB / 0.7593 GB, free: 69.54 MB / 490.7 MB Notification: Performance of Templates: time 0.02476/1.119, allocations: 13.83 MB / 0.7728 GB, free: 65.52 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches