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.001088/0.001088, allocations: 205.3 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008787/0.0008787, allocations: 97.06 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.384/0.384, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3627, allocations: 62.96 MB / 0.5184 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5049, allocations: 103.9 MB / 0.6199 GB, free: 1.359 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5053, allocations: 87.94 kB / 0.62 GB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.6669, allocations: 53.85 MB / 0.6725 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.6669, allocations: 0 / 0.6725 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001848/0.6671, allocations: 48 kB / 0.6726 GB, free: 11.03 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.0104/0.6775, allocations: 2.546 MB / 0.6751 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.6776, allocations: 8.875 kB / 0.6751 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.6898, allocations: 1.795 MB / 0.6768 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006627/0.6965, allocations: 1.689 MB / 0.6785 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.6969, allocations: 213.8 kB / 0.6787 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/0.6992, allocations: 272.3 kB / 0.679 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2799/0.9791, allocations: 6.298 MB / 0.6851 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.9793, allocations: 18.11 kB / 0.6851 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003986/0.9797, allocations: 123.1 kB / 0.6852 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.9807, allocations: 0.6365 MB / 0.6859 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008853/0.9896, allocations: 5.462 MB / 0.6912 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/1.015, allocations: 22.1 MB / 0.7128 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.019, allocations: 2.076 MB / 0.7148 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009762/1.02, allocations: 0.6788 MB / 0.7155 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006364/1.027, allocations: 3.502 MB / 0.7189 GB, free: 89.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.027, allocations: 41.5 kB / 0.7189 GB, free: 89.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/1.027, allocations: 0 / 0.7189 GB, free: 89.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005345/1.032, allocations: 1.972 MB / 0.7209 GB, free: 89.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/1.032, allocations: 62.28 kB / 0.7209 GB, free: 89.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.035, allocations: 1.94 MB / 0.7228 GB, free: 88.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/1.035, allocations: 35.8 kB / 0.7228 GB, free: 88.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.036, allocations: 1.887 MB / 0.7247 GB, free: 87.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/1.036, allocations: 318.7 kB / 0.725 GB, free: 86.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/1.037, allocations: 56.03 kB / 0.725 GB, free: 86.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/1.037, allocations: 494.2 kB / 0.7255 GB, free: 86.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.038, allocations: 0.8544 MB / 0.7263 GB, free: 86.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/1.04, allocations: 2.711 MB / 0.729 GB, free: 83.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/1.044, allocations: 3.899 MB / 0.7328 GB, free: 80.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/1.044, allocations: 20.56 kB / 0.7328 GB, free: 80.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004224/1.048, allocations: 3.447 MB / 0.7362 GB, free: 78.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/1.048, allocations: 33.97 kB / 0.7362 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.966e-05/1.048, allocations: 65.56 kB / 0.7363 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.331e-05/1.048, allocations: 97.5 kB / 0.7364 GB, free: 78.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.05, allocations: 0.6495 MB / 0.737 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.919e-05/1.05, allocations: 134.5 kB / 0.7371 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.052, allocations: 415.2 kB / 0.7375 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.052, allocations: 184.3 kB / 0.7377 GB, free: 78.39 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.001943/1.054, allocations: 1.367 MB / 0.739 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.054, allocations: 156.6 kB / 0.7392 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/1.054, allocations: 212.3 kB / 0.7394 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.054, allocations: 10.38 kB / 0.7394 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.054, allocations: 0 / 0.7394 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.054, allocations: 7.547 kB / 0.7394 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/1.06, allocations: 4.146 MB / 0.7435 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.06, allocations: 4.391 kB / 0.7435 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/1.06, allocations: 102.7 kB / 0.7436 GB, free: 75.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.06, allocations: 10.75 kB / 0.7436 GB, free: 75.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.06, allocations: 15.53 kB / 0.7436 GB, free: 75.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/1.06, allocations: 11.56 kB / 0.7436 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.06, allocations: 7.375 kB / 0.7436 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.062, allocations: 1.236 MB / 0.7448 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/1.062, allocations: 271.6 kB / 0.7451 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.062, allocations: 17.11 kB / 0.7451 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/1.062, allocations: 28.69 kB / 0.7451 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/1.063, allocations: 49.03 kB / 0.7452 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/1.063, allocations: 29.31 kB / 0.7452 GB, free: 74.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001531/1.064, allocations: 1.271 MB / 0.7464 GB, free: 74.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.064, allocations: 0 / 0.7464 GB, free: 74.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002614/1.067, allocations: 0.718 MB / 0.7471 GB, free: 74.26 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.0002794/1.067, allocations: 139.4 kB / 0.7473 GB, free: 74.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/1.07, allocations: 1.989 MB / 0.7492 GB, free: 73.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.07, allocations: 8.062 kB / 0.7492 GB, free: 73.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/1.07, allocations: 453.1 kB / 0.7497 GB, free: 73.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/1.072, allocations: 235.8 kB / 0.7499 GB, free: 73.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/1.08, allocations: 6.245 MB / 0.756 GB, free: 69.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/1.082, allocations: 2.327 MB / 0.7582 GB, free: 68.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002205/1.084, allocations: 0.9583 MB / 0.7592 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.084, allocations: 118.3 kB / 0.7593 GB, free: 68.66 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/1.084, allocations: 0 / 0.7593 GB, free: 68.66 MB / 490.7 MB Notification: Performance of Templates: time 0.02587/1.11, allocations: 13.84 MB / 0.7728 GB, free: 64.73 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/jenkins1/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