Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.6 MB / 234.8 MB, free: 3.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.000908, allocations: 92.7 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1777/0.1777, allocations: 45.15 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.119e-05, allocations: 7.938 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.08995, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4718, allocations: 103.2 MB / 0.6052 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.472, allocations: 78.02 kB / 0.6052 GB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1206/0.5926, allocations: 53.97 MB / 0.6579 GB, free: 1.652 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5926, allocations: 0 / 0.6579 GB, free: 1.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.209e-05/0.5927, allocations: 51.94 kB / 0.658 GB, free: 1.602 MB / 442.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.004319/0.5971, allocations: 2.524 MB / 0.6604 GB, free: 15.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5971, allocations: 8.031 kB / 0.6605 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007013/0.6041, allocations: 1.798 MB / 0.6622 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.6073, allocations: 1.665 MB / 0.6638 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.6074, allocations: 88 kB / 0.6639 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.6079, allocations: 160 kB / 0.6641 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005742/0.6136, allocations: 4.144 MB / 0.6681 GB, free: 7.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007645/0.6213, allocations: 5.769 MB / 0.6738 GB, free: 1.316 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.6213, allocations: 15.88 kB / 0.6738 GB, free: 1.301 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.6216, allocations: 12 kB / 0.6738 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000743/0.6224, allocations: 0.6456 MB / 0.6744 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/0.6467, allocations: 22.15 MB / 0.696 GB, free: 9.734 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.6482, allocations: 1.383 MB / 0.6974 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.6488, allocations: 0.4909 MB / 0.6979 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.6489, allocations: 16.53 kB / 0.6979 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6489, allocations: 47.08 kB / 0.6979 GB, free: 7.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.594e-06/0.6489, allocations: 0 / 0.6979 GB, free: 7.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.00268/0.6516, allocations: 1.313 MB / 0.6992 GB, free: 6.344 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.6516, allocations: 64.06 kB / 0.6993 GB, free: 6.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.6535, allocations: 1.576 MB / 0.7008 GB, free: 4.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6536, allocations: 25.7 kB / 0.7008 GB, free: 4.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.6547, allocations: 1.914 MB / 0.7027 GB, free: 2.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.6549, allocations: 351.5 kB / 0.703 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.655, allocations: 0 / 0.703 GB, free: 2.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.6553, allocations: 497.6 kB / 0.7035 GB, free: 1.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.6564, allocations: 0.834 MB / 0.7043 GB, free: 1.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.6585, allocations: 2.844 MB / 0.7071 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.6604, allocations: 1.561 MB / 0.7086 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/0.6605, allocations: 24 kB / 0.7087 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004523/0.665, allocations: 3.234 MB / 0.7118 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.6651, allocations: 41.03 kB / 0.7118 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/0.6651, allocations: 72 kB / 0.7119 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.6652, allocations: 108 kB / 0.712 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.6671, allocations: 0.7096 MB / 0.7127 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.6672, allocations: 143.4 kB / 0.7129 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.6689, allocations: 363.9 kB / 0.7132 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.6692, allocations: 196 kB / 0.7134 GB, free: 6.727 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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.000307/0.6695, allocations: 298.2 kB / 0.7137 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.6697, allocations: 158.1 kB / 0.7138 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.6713, allocations: 1.139 MB / 0.7149 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.6713, allocations: 19.94 kB / 0.715 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6714, allocations: 0 / 0.715 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6714, allocations: 3.984 kB / 0.715 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.6768, allocations: 3.714 MB / 0.7186 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.6768, allocations: 8 kB / 0.7186 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.6773, allocations: 115.8 kB / 0.7187 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.6773, allocations: 12 kB / 0.7187 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.6773, allocations: 15.98 kB / 0.7187 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.6773, allocations: 11.94 kB / 0.7187 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.6774, allocations: 11.94 kB / 0.7187 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.6789, allocations: 1.804 MB / 0.7205 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.6792, allocations: 234.8 kB / 0.7207 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.6794, allocations: 15.98 kB / 0.7208 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.6798, allocations: 15.98 kB / 0.7208 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.6799, allocations: 67.7 kB / 0.7208 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.68, allocations: 39.98 kB / 0.7209 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00125/0.6812, allocations: 1.05 MB / 0.7219 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6812, allocations: 0 / 0.7219 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00243/0.6837, allocations: 0.6529 MB / 0.7225 GB, free: 12.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.0002777/0.684, allocations: 139 kB / 0.7227 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.6865, allocations: 1.978 MB / 0.7246 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.6866, allocations: 4 kB / 0.7246 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.6871, allocations: 0.504 MB / 0.7251 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.6879, allocations: 181.5 kB / 0.7253 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.6943, allocations: 4.316 MB / 0.7295 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.6965, allocations: 2.38 MB / 0.7318 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002316/0.6989, allocations: 1.065 MB / 0.7328 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.6991, allocations: 123.4 kB / 0.733 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.6991, allocations: 0 / 0.733 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of Templates: time 0.02255/0.7217, allocations: 11.51 MB / 0.7442 GB, free: 6.555 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches