Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 187.6 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 95.09 kB / 270.9 MB, free: 8.375 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.4946/0.4946, allocations: 43.54 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004673, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.598, allocations: 102.1 MB / 0.5785 GB, free: 388 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5984, allocations: 79.95 kB / 0.5786 GB, free: 308 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2339/0.8323, allocations: 57.02 MB / 0.6342 GB, free: 6.922 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.8323, allocations: 0 / 0.6342 GB, free: 6.922 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001489/0.8325, allocations: 55.94 kB / 0.6343 GB, free: 6.867 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.01009/0.8426, allocations: 2.787 MB / 0.637 GB, free: 4.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8427, allocations: 12.03 kB / 0.637 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.8569, allocations: 1.836 MB / 0.6388 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/0.863, allocations: 1.758 MB / 0.6405 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.8634, allocations: 229.9 kB / 0.6408 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.8651, allocations: 291.9 kB / 0.641 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.8864, allocations: 6.82 MB / 0.6477 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.8866, allocations: 19.81 kB / 0.6477 GB, free: 8.629 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/0.888, allocations: 143.9 kB / 0.6479 GB, free: 8.488 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/0.8896, allocations: 0.7001 MB / 0.6485 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.9084, allocations: 5.951 MB / 0.6544 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3825/1.291, allocations: 23.92 MB / 0.6777 GB, free: 95.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/1.299, allocations: 2.191 MB / 0.6798 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.311, allocations: 4.017 MB / 0.6838 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.311, allocations: 48.17 kB / 0.6838 GB, free: 93.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.899e-06/1.311, allocations: 0 / 0.6838 GB, free: 93.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01022/1.321, allocations: 2.513 MB / 0.6863 GB, free: 93.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.321, allocations: 60.66 kB / 0.6863 GB, free: 93.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/1.326, allocations: 1.821 MB / 0.6881 GB, free: 92.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001837/1.326, allocations: 37.36 kB / 0.6881 GB, free: 92.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.328, allocations: 2.015 MB / 0.6901 GB, free: 91.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/1.328, allocations: 384 kB / 0.6905 GB, free: 91.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/1.329, allocations: 64.72 kB / 0.6905 GB, free: 91.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002388/1.329, allocations: 460.2 kB / 0.691 GB, free: 91.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/1.331, allocations: 0.9549 MB / 0.6919 GB, free: 91.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/1.335, allocations: 2.916 MB / 0.6948 GB, free: 88.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/1.339, allocations: 1.68 MB / 0.6964 GB, free: 88.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.209e-05/1.339, allocations: 19.88 kB / 0.6964 GB, free: 88.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009425/1.348, allocations: 3.729 MB / 0.7001 GB, free: 88.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/1.349, allocations: 37.64 kB / 0.7001 GB, free: 88.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/1.349, allocations: 72.34 kB / 0.7002 GB, free: 88.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/1.349, allocations: 105.4 kB / 0.7003 GB, free: 88.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/1.353, allocations: 0.7256 MB / 0.701 GB, free: 88.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001275/1.353, allocations: 143.8 kB / 0.7011 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.357, allocations: 435.5 kB / 0.7015 GB, free: 88.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006137/1.357, allocations: 201.9 kB / 0.7017 GB, free: 88.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.003444/1.361, allocations: 1.46 MB / 0.7031 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/1.361, allocations: 170.7 kB / 0.7033 GB, free: 87.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/1.364, allocations: 1.245 MB / 0.7045 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/1.364, allocations: 15.03 kB / 0.7045 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.364, allocations: 0 / 0.7045 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.364, allocations: 3.375 kB / 0.7045 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.377, allocations: 5.044 MB / 0.7095 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.377, allocations: 16.66 kB / 0.7095 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.378, allocations: 142.7 kB / 0.7096 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.379, allocations: 17.66 kB / 0.7096 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/1.379, allocations: 21.88 kB / 0.7097 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/1.379, allocations: 22.5 kB / 0.7097 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.379, allocations: 18.44 kB / 0.7097 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/1.382, allocations: 2.32 MB / 0.712 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/1.382, allocations: 281.8 kB / 0.7122 GB, free: 85.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/1.383, allocations: 32.48 kB / 0.7123 GB, free: 85.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.384, allocations: 36.39 kB / 0.7123 GB, free: 85.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.384, allocations: 80.22 kB / 0.7124 GB, free: 85.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.384, allocations: 38.09 kB / 0.7124 GB, free: 85.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00319/1.387, allocations: 1.338 MB / 0.7137 GB, free: 84.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.387, allocations: 0 / 0.7137 GB, free: 84.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004164/1.392, allocations: 0.774 MB / 0.7145 GB, free: 84.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.000507/1.392, allocations: 164.4 kB / 0.7146 GB, free: 84.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005485/1.398, allocations: 2.233 MB / 0.7168 GB, free: 83.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.398, allocations: 1.469 kB / 0.7168 GB, free: 83.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.399, allocations: 0.5654 MB / 0.7174 GB, free: 83.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.401, allocations: 233.9 kB / 0.7176 GB, free: 83.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/1.425, allocations: 7.299 MB / 0.7247 GB, free: 79.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006495/1.431, allocations: 2.528 MB / 0.7272 GB, free: 78.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009099/1.432, allocations: 158.9 kB / 0.7273 GB, free: 78.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.432, allocations: 0 / 0.7273 GB, free: 78.43 MB / 490.7 MB Notification: Performance of Templates: time 0.06525/1.498, allocations: 32.56 MB / 0.7591 GB, free: 75.59 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches