Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00097/0.0009701, allocations: 198.8 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.293/1.293, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 89.89 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1827/0.1827, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.109e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08951, allocations: 63.24 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.463, allocations: 103.2 MB / 0.6051 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4633, allocations: 79.08 kB / 0.6052 GB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.5856, allocations: 53.94 MB / 0.6579 GB, free: 1.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5857, allocations: 0 / 0.6579 GB, free: 1.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.931e-05/0.5858, allocations: 48 kB / 0.6579 GB, free: 1.652 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.004087/0.5898, allocations: 2.527 MB / 0.6604 GB, free: 15.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5899, allocations: 12.03 kB / 0.6604 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/0.5967, allocations: 1.797 MB / 0.6622 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.5997, allocations: 1.667 MB / 0.6638 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.5998, allocations: 88 kB / 0.6639 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.6003, allocations: 156 kB / 0.664 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006353/0.6066, allocations: 4.137 MB / 0.6681 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/0.6143, allocations: 5.777 MB / 0.6737 GB, free: 1.355 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/0.6144, allocations: 19.88 kB / 0.6737 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/0.6147, allocations: 19.94 kB / 0.6737 GB, free: 1.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00075/0.6154, allocations: 0.6339 MB / 0.6744 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.6394, allocations: 22.17 MB / 0.696 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6409, allocations: 1.383 MB / 0.6974 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.6415, allocations: 498.7 kB / 0.6978 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.6415, allocations: 16.5 kB / 0.6979 GB, free: 7.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.6415, allocations: 39.12 kB / 0.6979 GB, free: 7.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.775e-06/0.6416, allocations: 0 / 0.6979 GB, free: 7.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.002699/0.6443, allocations: 1.317 MB / 0.6992 GB, free: 6.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.6443, allocations: 64 kB / 0.6992 GB, free: 6.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.6465, allocations: 1.576 MB / 0.7008 GB, free: 4.723 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.6465, allocations: 25.7 kB / 0.7008 GB, free: 4.691 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.6477, allocations: 1.91 MB / 0.7027 GB, free: 2.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.6481, allocations: 351.5 kB / 0.703 GB, free: 2.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.6482, allocations: 0 / 0.703 GB, free: 2.402 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.6485, allocations: 497.6 kB / 0.7035 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.6496, allocations: 0.8301 MB / 0.7043 GB, free: 1.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.652, allocations: 2.852 MB / 0.7071 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.654, allocations: 1.572 MB / 0.7086 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.417e-05/0.654, allocations: 20 kB / 0.7086 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004891/0.6589, allocations: 3.217 MB / 0.7118 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.659, allocations: 36 kB / 0.7118 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/0.6591, allocations: 80.73 kB / 0.7119 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.992e-05/0.6592, allocations: 108 kB / 0.712 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.6612, allocations: 0.7173 MB / 0.7127 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.617e-05/0.6613, allocations: 139.5 kB / 0.7128 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.663, allocations: 359.6 kB / 0.7132 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/0.6633, allocations: 200 kB / 0.7134 GB, free: 6.758 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.0003394/0.6636, allocations: 297.1 kB / 0.7136 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.6638, allocations: 161.9 kB / 0.7138 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.6655, allocations: 1.131 MB / 0.7149 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.6655, allocations: 15.95 kB / 0.7149 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6655, allocations: 0 / 0.7149 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.6655, allocations: 3.984 kB / 0.7149 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.6709, allocations: 3.718 MB / 0.7185 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.6709, allocations: 8 kB / 0.7186 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.6714, allocations: 116.7 kB / 0.7187 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.6714, allocations: 15.98 kB / 0.7187 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.6715, allocations: 20 kB / 0.7187 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.6715, allocations: 11.94 kB / 0.7187 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.6715, allocations: 11.94 kB / 0.7187 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6732, allocations: 1.795 MB / 0.7205 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.6735, allocations: 242.8 kB / 0.7207 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.6737, allocations: 11.98 kB / 0.7207 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.6742, allocations: 15.98 kB / 0.7207 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.6743, allocations: 63.77 kB / 0.7208 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.6744, allocations: 39.89 kB / 0.7208 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001514/0.6759, allocations: 1.046 MB / 0.7219 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6759, allocations: 0 / 0.7219 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002811/0.6787, allocations: 0.6529 MB / 0.7225 GB, free: 12.93 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.0003232/0.6791, allocations: 147 kB / 0.7226 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.682, allocations: 1.977 MB / 0.7246 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.682, allocations: 4 kB / 0.7246 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.6826, allocations: 0.5021 MB / 0.7251 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.6834, allocations: 177.3 kB / 0.7252 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.6911, allocations: 4.324 MB / 0.7294 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/0.6937, allocations: 2.372 MB / 0.7318 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002505/0.6963, allocations: 1.081 MB / 0.7328 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.6966, allocations: 115.4 kB / 0.7329 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.6966, allocations: 4 kB / 0.7329 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of Templates: time 0.02357/0.7202, allocations: 11.51 MB / 0.7442 GB, free: 6.578 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches