Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 242.1 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008169, allocations: 96.48 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.322/0.322, allocations: 44.14 MB / 388.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 61.88 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4658, allocations: 106.1 MB / 0.6143 GB, free: 4.934 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4661, allocations: 91.92 kB / 0.6144 GB, free: 4.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6238/1.09, allocations: 148.6 MB / 0.7595 GB, free: 81.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.418e-06/1.09, allocations: 0 / 0.7595 GB, free: 81.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000442/1.09, allocations: 150.1 kB / 0.7597 GB, free: 81.78 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.02053/1.111, allocations: 7.588 MB / 0.7671 GB, free: 76.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.111, allocations: 18.34 kB / 0.7671 GB, free: 76.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/1.127, allocations: 3.399 MB / 0.7704 GB, free: 75.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/1.142, allocations: 7.443 MB / 0.7777 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005258/1.143, allocations: 0.5581 MB / 0.7782 GB, free: 67.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/1.147, allocations: 0.7422 MB / 0.779 GB, free: 66.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/1.189, allocations: 17.68 MB / 0.7962 GB, free: 47.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005026/1.19, allocations: 79.47 kB / 0.7963 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0034/1.193, allocations: 371.7 kB / 0.7967 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002358/1.195, allocations: 1.621 MB / 0.7982 GB, free: 45.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02834/1.224, allocations: 13.7 MB / 0.8116 GB, free: 32.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4061/1.63, allocations: 74.48 MB / 0.8844 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/1.644, allocations: 5.271 MB / 0.8895 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/1.647, allocations: 2.095 MB / 0.8915 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.662, allocations: 9.869 MB / 0.9012 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.662, allocations: 57.45 kB / 0.9012 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.471e-06/1.662, allocations: 0 / 0.9012 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.0385/1.701, allocations: 14.05 MB / 0.915 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.701, allocations: 155.4 kB / 0.9151 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/1.713, allocations: 6.392 MB / 0.9213 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/1.714, allocations: 57.14 kB / 0.9214 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00357/1.717, allocations: 5.304 MB / 0.9266 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008996/1.718, allocations: 0.8208 MB / 0.9274 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/1.718, allocations: 163.1 kB / 0.9275 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003641/1.719, allocations: 0.6529 MB / 0.9282 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/1.723, allocations: 2.261 MB / 0.9304 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/1.729, allocations: 7.618 MB / 0.9378 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009955/1.739, allocations: 10.67 MB / 0.9482 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002138/1.739, allocations: 56 kB / 0.9483 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01729/1.757, allocations: 9.504 MB / 0.9576 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/1.757, allocations: 93.69 kB / 0.9577 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/1.757, allocations: 194 kB / 0.9578 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/1.757, allocations: 250.3 kB / 0.9581 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/1.763, allocations: 1.99 MB / 0.96 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002762/1.764, allocations: 369.7 kB / 0.9604 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007138/1.771, allocations: 0.5748 MB / 0.9609 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.772, allocations: 0.4957 MB / 0.9614 GB, free: 26.14 MB / 0.5105 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.007246/1.779, allocations: 3.406 MB / 0.9648 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.781, allocations: 0.5387 MB / 0.9653 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.783, allocations: 0.6468 MB / 0.9659 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/1.783, allocations: 25.81 kB / 0.9659 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/1.783, allocations: 3.375 kB / 0.9659 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/1.783, allocations: 10.41 kB / 0.966 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/1.806, allocations: 15.11 MB / 0.9807 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/1.806, allocations: 49.19 kB / 0.9808 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.807, allocations: 429.8 kB / 0.9812 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-05/1.807, allocations: 60.59 kB / 0.9812 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.807, allocations: 98.34 kB / 0.9813 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/1.807, allocations: 89.14 kB / 0.9814 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-05/1.807, allocations: 68.69 kB / 0.9815 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/1.811, allocations: 4.185 MB / 0.9856 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.813, allocations: 0.6415 MB / 0.9862 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009968/1.814, allocations: 109.5 kB / 0.9863 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.817, allocations: 180 kB / 0.9865 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.817, allocations: 286.6 kB / 0.9867 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.817, allocations: 127.1 kB / 0.9868 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007698/1.825, allocations: 4.039 MB / 0.9908 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/1.825, allocations: 0 / 0.9908 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009306/1.834, allocations: 1.36 MB / 0.9921 GB, free: 8.129 MB / 0.5105 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.0007064/1.835, allocations: 278.2 kB / 0.9924 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008867/1.844, allocations: 5.218 MB / 0.9975 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.071e-05/1.844, allocations: 8 kB / 0.9975 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.846, allocations: 1.168 MB / 0.9986 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04341/1.889, allocations: 0.8887 MB / 0.9995 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/1.926, allocations: 18.38 MB / 1.017 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01182/1.937, allocations: 5.255 MB / 1.023 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008964/1.946, allocations: 2.582 MB / 1.025 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.948, allocations: 357.6 kB / 1.025 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/1.948, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.09409/2.042, allocations: 42.22 MB / 1.067 GB, free: 5.297 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches