Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001037/0.001038, allocations: 175.3 kB / 16.72 MB, free: 4.957 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.276/1.276, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007556/0.0007557, allocations: 84.86 kB / 271.2 MB, free: 8.238 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.3087/0.3087, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2715/0.3851, allocations: 92.56 MB / 0.5697 GB, free: 484 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04531/0.4304, allocations: 18.41 MB / 0.5877 GB, free: 3.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02059/0.4511, allocations: 446.2 kB / 0.5881 GB, free: 3.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01684/0.4679, allocations: 4.915 MB / 0.5929 GB, free: 1.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04092/0.5089, allocations: 14.47 MB / 0.607 GB, free: 3.215 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.5161, allocations: 1.322 MB / 0.6083 GB, free: 1.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.5296, allocations: 9.805 MB / 0.6179 GB, free: 8.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01401/0.5437, allocations: 10.29 MB / 0.628 GB, free: 13.69 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.5488, allocations: 2.67 MB / 0.6306 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006252/0.5551, allocations: 3.984 MB / 0.6345 GB, free: 7.012 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.5568, allocations: 296 kB / 0.6347 GB, free: 6.723 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.5601, allocations: 1.166 MB / 0.6359 GB, free: 5.555 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004092/0.5642, allocations: 3.483 MB / 0.6393 GB, free: 2.062 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004987/0.5692, allocations: 3.714 MB / 0.6429 GB, free: 14.32 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.5804, allocations: 10.44 MB / 0.6531 GB, free: 3.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5804, allocations: 0 / 0.6531 GB, free: 3.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5804, allocations: 0 / 0.6531 GB, free: 3.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004332/0.5809, allocations: 0 / 0.6531 GB, free: 3.859 MB / 474.7 MB 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.01551/0.5964, allocations: 7.805 MB / 0.6607 GB, free: 11.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5964, allocations: 8.031 kB / 0.6607 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.6076, allocations: 2.774 MB / 0.6634 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.6179, allocations: 5.032 MB / 0.6684 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.6184, allocations: 492.3 kB / 0.6688 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.6202, allocations: 0.6089 MB / 0.6694 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3844/1.005, allocations: 19.48 MB / 0.6884 GB, free: 130.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/1.005, allocations: 79.67 kB / 0.6885 GB, free: 130.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/1.006, allocations: 305.2 kB / 0.6888 GB, free: 130.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00448/1.01, allocations: 3.636 MB / 0.6924 GB, free: 130 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/1.041, allocations: 15.13 MB / 0.7071 GB, free: 125.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0844/1.125, allocations: 73.01 MB / 0.7784 GB, free: 63.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/1.139, allocations: 6.098 MB / 0.7844 GB, free: 57.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.142, allocations: 2.539 MB / 0.7869 GB, free: 55.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/1.158, allocations: 11.17 MB / 0.7978 GB, free: 43.47 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.159, allocations: 64.5 kB / 0.7978 GB, free: 43.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=250): time 5.831e-06/1.159, allocations: 0 / 0.7978 GB, free: 43.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=274): time 0.03716/1.196, allocations: 16.37 MB / 0.8138 GB, free: 27.06 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.196, allocations: 154.5 kB / 0.814 GB, free: 26.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007522/1.203, allocations: 6.732 MB / 0.8205 GB, free: 20.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004715/1.204, allocations: 69.14 kB / 0.8206 GB, free: 20.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002776/1.207, allocations: 5.735 MB / 0.8262 GB, free: 14.35 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.208, allocations: 1.057 MB / 0.8272 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/1.208, allocations: 184 kB / 0.8274 GB, free: 13.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000426/1.209, allocations: 0.7112 MB / 0.8281 GB, free: 12.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004221/1.213, allocations: 2.74 MB / 0.8308 GB, free: 9.66 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006645/1.22, allocations: 8.627 MB / 0.8392 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.233, allocations: 12.39 MB / 0.8513 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.234, allocations: 64 kB / 0.8514 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02159/1.255, allocations: 11.03 MB / 0.8621 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.255, allocations: 95.78 kB / 0.8622 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002992/1.256, allocations: 211.9 kB / 0.8624 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/1.256, allocations: 283.9 kB / 0.8627 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007194/1.263, allocations: 2.211 MB / 0.8649 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002945/1.263, allocations: 406.9 kB / 0.8653 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006618/1.27, allocations: 470.5 kB / 0.8657 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2057/1.476, allocations: 0.5782 MB / 0.8663 GB, free: 145.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.007295/1.483, allocations: 3.756 MB / 0.8699 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.484, allocations: 0.5819 MB / 0.8705 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/1.49, allocations: 2.979 MB / 0.8734 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/1.49, allocations: 29.31 kB / 0.8734 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.49, allocations: 3.062 kB / 0.8734 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.49, allocations: 12.75 kB / 0.8735 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02929/1.519, allocations: 25.12 MB / 0.898 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.158e-05/1.519, allocations: 62 kB / 0.898 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.521, allocations: 0.6142 MB / 0.8986 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.011e-05/1.521, allocations: 81.41 kB / 0.8987 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.521, allocations: 138 kB / 0.8989 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.94e-05/1.521, allocations: 124.7 kB / 0.899 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.982e-05/1.521, allocations: 103.3 kB / 0.8991 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/1.527, allocations: 5.86 MB / 0.9048 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.528, allocations: 0.7188 MB / 0.9055 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.529, allocations: 146.7 kB / 0.9056 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.531, allocations: 158.5 kB / 0.9058 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/1.532, allocations: 431.6 kB / 0.9062 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.532, allocations: 174.5 kB / 0.9064 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00778/1.54, allocations: 4.189 MB / 0.9105 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.54, allocations: 0 / 0.9105 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00939/1.549, allocations: 1.561 MB / 0.912 GB, free: 129.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0007873/1.55, allocations: 338.5 kB / 0.9123 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009644/1.56, allocations: 6.394 MB / 0.9185 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.559e-05/1.56, allocations: 11.69 kB / 0.9186 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.562, allocations: 1.635 MB / 0.9202 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0589/1.621, allocations: 0.9693 MB / 0.9211 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/1.652, allocations: 22.19 MB / 0.9428 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008668/1.661, allocations: 5.786 MB / 0.9484 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.662, allocations: 494.6 kB / 0.9489 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/1.662, allocations: 4 kB / 0.9489 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1195/1.782, allocations: 96.53 MB / 1.043 GB, free: 10.05 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches