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.001576/0.001576, allocations: 200 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008123/0.0008122, allocations: 92.28 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4621/0.4621, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003314, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3124, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4412, allocations: 106.9 MB / 0.6228 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4415, allocations: 83.94 kB / 0.6229 GB, free: 14.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5784/1.02, allocations: 152.2 MB / 0.7715 GB, free: 72.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.02, allocations: 0 / 0.7715 GB, free: 72.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003992/1.02, allocations: 152 kB / 0.7717 GB, free: 72.67 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02211/1.042, allocations: 7.594 MB / 0.7791 GB, free: 64.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.043, allocations: 8.031 kB / 0.7791 GB, free: 64.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/1.059, allocations: 3.399 MB / 0.7824 GB, free: 61.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.076, allocations: 7.078 MB / 0.7893 GB, free: 54.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/1.076, allocations: 0.562 MB / 0.7899 GB, free: 53.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003368/1.079, allocations: 0.7461 MB / 0.7906 GB, free: 53.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04073/1.12, allocations: 17.67 MB / 0.8079 GB, free: 33.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004826/1.121, allocations: 83.41 kB / 0.8079 GB, free: 33.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/1.124, allocations: 363.8 kB / 0.8083 GB, free: 33.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/1.127, allocations: 1.621 MB / 0.8099 GB, free: 31.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/1.156, allocations: 13.7 MB / 0.8233 GB, free: 18.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4615/1.618, allocations: 74.49 MB / 0.896 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.633, allocations: 5.272 MB / 0.9011 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/1.637, allocations: 2.097 MB / 0.9032 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/1.656, allocations: 9.866 MB / 0.9128 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.656, allocations: 59.05 kB / 0.9129 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 6.882e-06/1.656, allocations: 1.062 kB / 0.9129 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.04661/1.703, allocations: 14.05 MB / 0.9266 GB, free: 58.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.703, allocations: 155.8 kB / 0.9268 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01293/1.716, allocations: 6.399 MB / 0.933 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/1.716, allocations: 54.83 kB / 0.9331 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003986/1.72, allocations: 5.299 MB / 0.9382 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.721, allocations: 0.8179 MB / 0.939 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/1.722, allocations: 161.8 kB / 0.9392 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004416/1.722, allocations: 0.6486 MB / 0.9398 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/1.727, allocations: 2.262 MB / 0.942 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007041/1.734, allocations: 7.612 MB / 0.9495 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.744, allocations: 10.67 MB / 0.9599 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003012/1.744, allocations: 54.84 kB / 0.9599 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02045/1.765, allocations: 9.505 MB / 0.9692 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003207/1.765, allocations: 87.94 kB / 0.9693 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004159/1.766, allocations: 190.5 kB / 0.9695 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/1.766, allocations: 254.5 kB / 0.9697 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/1.772, allocations: 1.992 MB / 0.9717 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002992/1.773, allocations: 369.7 kB / 0.972 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/1.781, allocations: 0.5748 MB / 0.9726 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/1.783, allocations: 0.4976 MB / 0.9731 GB, free: 37.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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.009436/1.792, allocations: 3.406 MB / 0.9764 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.793, allocations: 0.5411 MB / 0.9769 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/1.796, allocations: 0.6457 MB / 0.9776 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.796, allocations: 19.62 kB / 0.9776 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.796, allocations: 6.344 kB / 0.9776 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.796, allocations: 7.547 kB / 0.9776 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03607/1.832, allocations: 15.11 MB / 0.9923 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.039e-05/1.832, allocations: 45.72 kB / 0.9924 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.834, allocations: 433.6 kB / 0.9928 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-05/1.834, allocations: 59.28 kB / 0.9929 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.834, allocations: 105.9 kB / 0.993 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-05/1.834, allocations: 90.08 kB / 0.993 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-05/1.834, allocations: 68.41 kB / 0.9931 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/1.84, allocations: 4.179 MB / 0.9972 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.842, allocations: 0.6431 MB / 0.9978 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008284/1.843, allocations: 105.1 kB / 0.9979 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/1.846, allocations: 170.1 kB / 0.9981 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/1.847, allocations: 299.6 kB / 0.9984 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.847, allocations: 124.8 kB / 0.9985 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01021/1.857, allocations: 4.037 MB / 1.002 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/1.857, allocations: 0 / 1.002 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01233/1.87, allocations: 1.357 MB / 1.004 GB, free: 18.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * 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 (230): * Single equations (assignments): 227 * 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.0008618/1.871, allocations: 275.8 kB / 1.004 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009522/1.88, allocations: 5.226 MB / 1.009 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-05/1.88, allocations: 4 kB / 1.009 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.882, allocations: 1.169 MB / 1.01 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04022/1.922, allocations: 0.8874 MB / 1.011 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/1.952, allocations: 18.61 MB / 1.029 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009387/1.962, allocations: 5.246 MB / 1.034 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008136/1.97, allocations: 2.585 MB / 1.037 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.971, allocations: 353.6 kB / 1.037 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of SimCode: time 2.405e-06/1.971, allocations: 4 kB / 1.037 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of Templates: time 0.09948/2.07, allocations: 42.57 MB / 1.079 GB, free: 340 kB / 0.573 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/jenkins1/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