Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, 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.291/1.291, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008737, allocations: 97.23 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 45.16 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.713e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5096, allocations: 106.2 MB / 0.608 GB, free: 12.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.5098, allocations: 79.59 kB / 0.6081 GB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6471/1.157, allocations: 154.2 MB / 0.7586 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.635e-06/1.157, allocations: 4.406 kB / 0.7586 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004851/1.158, allocations: 147.3 kB / 0.7588 GB, free: 104.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02372/1.181, allocations: 7.354 MB / 0.766 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.181, allocations: 9.438 kB / 0.766 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/1.199, allocations: 3.522 MB / 0.7694 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/1.218, allocations: 7.881 MB / 0.7771 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/1.218, allocations: 245 kB / 0.7773 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/1.221, allocations: 450.9 kB / 0.7778 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01643/1.237, allocations: 10.27 MB / 0.7878 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/1.264, allocations: 15.22 MB / 0.8027 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/1.264, allocations: 88.62 kB / 0.8028 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/1.265, allocations: 44.19 kB / 0.8028 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.267, allocations: 1.63 MB / 0.8044 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07593/1.343, allocations: 76.22 MB / 0.8788 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/1.346, allocations: 2.346 MB / 0.8811 GB, free: 44.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/1.347, allocations: 1.136 MB / 0.8822 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/1.347, allocations: 22.73 kB / 0.8823 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.347, allocations: 53.34 kB / 0.8823 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.988e-06/1.347, allocations: 4 kB / 0.8823 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.01923/1.366, allocations: 10.03 MB / 0.8921 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.367, allocations: 153.3 kB / 0.8923 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005965/1.372, allocations: 4.829 MB / 0.897 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.373, allocations: 29.7 kB / 0.897 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.375, allocations: 5.361 MB / 0.9022 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006358/1.376, allocations: 0.7475 MB / 0.903 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.376, allocations: 4 kB / 0.903 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003127/1.376, allocations: 0.6502 MB / 0.9036 GB, free: 30 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/1.379, allocations: 1.956 MB / 0.9055 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/1.383, allocations: 7.378 MB / 0.9127 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00444/1.387, allocations: 3.747 MB / 0.9164 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/1.387, allocations: 56 kB / 0.9164 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.01474/1.402, allocations: 8.087 MB / 0.9243 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.402, allocations: 93.16 kB / 0.9244 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000222/1.403, allocations: 196 kB / 0.9246 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/1.403, allocations: 291.8 kB / 0.9249 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006393/1.409, allocations: 2.011 MB / 0.9268 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002704/1.409, allocations: 382.7 kB / 0.9272 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007889/1.417, allocations: 425.3 kB / 0.9276 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.419, allocations: 0.5116 MB / 0.9281 GB, free: 4.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1046 * 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.002107/1.421, allocations: 0.5964 MB / 0.9287 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.422, allocations: 0.4974 MB / 0.9292 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/1.425, allocations: 0.5881 MB / 0.9298 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/1.425, allocations: 20 kB / 0.9298 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.425, allocations: 0 / 0.9298 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/1.425, allocations: 10.36 kB / 0.9298 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.45, allocations: 12.22 MB / 0.9417 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001245/1.45, allocations: 36 kB / 0.9418 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.452, allocations: 400.8 kB / 0.9421 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.562e-05/1.452, allocations: 56 kB / 0.9422 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/1.452, allocations: 55.8 kB / 0.9422 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/1.452, allocations: 75.2 kB / 0.9423 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.812e-05/1.452, allocations: 59.75 kB / 0.9424 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/1.462, allocations: 10.11 MB / 0.9522 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.464, allocations: 0.5794 MB / 0.9528 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.465, allocations: 63.31 kB / 0.9529 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.468, allocations: 127.3 kB / 0.953 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/1.469, allocations: 267.6 kB / 0.9532 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.469, allocations: 118.9 kB / 0.9534 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007119/1.476, allocations: 3.243 MB / 0.9565 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/1.476, allocations: 0 / 0.9565 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00851/1.485, allocations: 1.167 MB / 0.9577 GB, free: 6.621 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 209 * 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.0007344/1.485, allocations: 210.4 kB / 0.9579 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008564/1.494, allocations: 4.582 MB / 0.9623 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/1.494, allocations: 15.88 kB / 0.9624 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.496, allocations: 1.007 MB / 0.9633 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/1.501, allocations: 0.6985 MB / 0.964 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2939/1.795, allocations: 12.29 MB / 0.976 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006732/1.802, allocations: 5.37 MB / 0.9813 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00635/1.808, allocations: 2.614 MB / 0.9838 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/1.809, allocations: 329.5 kB / 0.9841 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/1.809, allocations: 0 / 0.9841 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.06387/1.873, allocations: 35.4 MB / 1.019 GB, free: 112.8 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches