Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008944, allocations: 82.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.194/0.194, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.18e-05, allocations: 7.984 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.5325, allocations: 104.3 MB / 0.5678 GB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5329, allocations: 79.41 kB / 0.5679 GB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6578/1.191, allocations: 162.5 MB / 0.7266 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/1.191, allocations: 1.156 kB / 0.7266 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005801/1.191, allocations: 164.4 kB / 0.7268 GB, free: 92.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02742/1.219, allocations: 7.972 MB / 0.7346 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.219, allocations: 7.625 kB / 0.7346 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/1.239, allocations: 3.69 MB / 0.7382 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/1.261, allocations: 9.684 MB / 0.7476 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005177/1.262, allocations: 273.9 kB / 0.7479 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00453/1.266, allocations: 0.489 MB / 0.7484 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02034/1.287, allocations: 11.6 MB / 0.7597 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/1.328, allocations: 16.98 MB / 0.7763 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004557/1.329, allocations: 93.27 kB / 0.7764 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003468/1.332, allocations: 44.59 kB / 0.7764 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002981/1.335, allocations: 1.875 MB / 0.7783 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.104/1.439, allocations: 82.21 MB / 0.8585 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/1.444, allocations: 3.068 MB / 0.8615 GB, free: 19.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/1.445, allocations: 1.5 MB / 0.863 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/1.445, allocations: 44.92 kB / 0.863 GB, free: 17.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/1.445, allocations: 61.16 kB / 0.8631 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.007e-06/1.446, allocations: 0 / 0.8631 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.02241/1.468, allocations: 11.81 MB / 0.8746 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.468, allocations: 158.5 kB / 0.8748 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007416/1.475, allocations: 5.191 MB / 0.8799 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006743/1.476, allocations: 25.7 kB / 0.8799 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/1.481, allocations: 5.922 MB / 0.8857 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.482, allocations: 0.9778 MB / 0.8866 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/1.483, allocations: 4 kB / 0.8866 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005052/1.483, allocations: 0.7063 MB / 0.8873 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/1.487, allocations: 2.368 MB / 0.8896 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3285/1.816, allocations: 8.378 MB / 0.8978 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008146/1.824, allocations: 4.385 MB / 0.9021 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/1.824, allocations: 61.69 kB / 0.9021 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.0226/1.847, allocations: 9.416 MB / 0.9113 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/1.847, allocations: 97.89 kB / 0.9114 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005171/1.848, allocations: 221.3 kB / 0.9116 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/1.848, allocations: 317 kB / 0.9119 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008649/1.857, allocations: 2.328 MB / 0.9142 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004891/1.857, allocations: 422.5 kB / 0.9146 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009484/1.867, allocations: 463.2 kB / 0.9151 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/1.869, allocations: 0.58 MB / 0.9156 GB, free: 90.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 991 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1213): * Single equations (assignments): 1210 * 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.002371/1.871, allocations: 0.6346 MB / 0.9163 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.872, allocations: 0.5558 MB / 0.9168 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/1.877, allocations: 2.578 MB / 0.9193 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/1.877, allocations: 25.69 kB / 0.9193 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.877, allocations: 3.688 kB / 0.9193 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.877, allocations: 10.88 kB / 0.9193 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.906, allocations: 21.21 MB / 0.9401 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.283e-05/1.906, allocations: 57.78 kB / 0.9401 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.907, allocations: 0.5604 MB / 0.9407 GB, free: 87.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.797e-05/1.908, allocations: 83.25 kB / 0.9407 GB, free: 87.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.908, allocations: 85.25 kB / 0.9408 GB, free: 87.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.162e-05/1.908, allocations: 109.1 kB / 0.9409 GB, free: 87.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.96e-05/1.908, allocations: 97.75 kB / 0.941 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/1.915, allocations: 14.82 MB / 0.9555 GB, free: 73.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.917, allocations: 0.658 MB / 0.9561 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/1.917, allocations: 80.08 kB / 0.9562 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.92, allocations: 164.3 kB / 0.9564 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/1.92, allocations: 384.3 kB / 0.9567 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/1.92, allocations: 152 kB / 0.9569 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005302/1.926, allocations: 3.486 MB / 0.9603 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-07/1.926, allocations: 1.5 kB / 0.9603 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01036/1.936, allocations: 1.321 MB / 0.9616 GB, free: 72.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.000855/1.937, allocations: 248.5 kB / 0.9618 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008035/1.945, allocations: 5.572 MB / 0.9673 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.957e-05/1.945, allocations: 13.06 kB / 0.9673 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.947, allocations: 1.4 MB / 0.9686 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/1.951, allocations: 0.7329 MB / 0.9694 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.976, allocations: 14.4 MB / 0.9834 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008281/1.984, allocations: 5.934 MB / 0.9892 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007695/1.992, allocations: 2.957 MB / 0.9921 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/1.993, allocations: 396.8 kB / 0.9925 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/1.993, allocations: 0 / 0.9925 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.07771/2.071, allocations: 40.4 MB / 1.032 GB, free: 43.56 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches