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.00223/0.00223, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001129/0.001129, allocations: 91.39 kB / 270.9 MB, free: 8.359 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.5188/0.5188, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.432/0.5583, allocations: 87.39 MB / 0.5641 GB, free: 4.395 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05861/0.6169, allocations: 19.32 MB / 0.5829 GB, free: 7.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02108/0.6381, allocations: 446.2 kB / 0.5834 GB, free: 7.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.6558, allocations: 4.412 MB / 0.5877 GB, free: 5.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0546/0.7104, allocations: 12.48 MB / 0.5999 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008844/0.7193, allocations: 1.245 MB / 0.6011 GB, free: 8.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.7332, allocations: 4.682 MB / 0.6056 GB, free: 4.215 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02118/0.7544, allocations: 9.223 MB / 0.6146 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.7605, allocations: 2.142 MB / 0.6167 GB, free: 8.793 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006863/0.7674, allocations: 2.761 MB / 0.6194 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.7698, allocations: 296 kB / 0.6197 GB, free: 5.734 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.7744, allocations: 0.9559 MB / 0.6207 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006027/0.7805, allocations: 3.234 MB / 0.6238 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.7839, allocations: 1.602 MB / 0.6254 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.8017, allocations: 10.45 MB / 0.6356 GB, free: 5.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8017, allocations: 0 / 0.6356 GB, free: 5.441 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8017, allocations: 4 kB / 0.6356 GB, free: 5.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004976/0.8022, allocations: 0 / 0.6356 GB, free: 5.438 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.0278/0.83, allocations: 8.167 MB / 0.6436 GB, free: 13.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8301, allocations: 12.03 kB / 0.6436 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02857/0.8587, allocations: 3.136 MB / 0.6466 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/0.877, allocations: 5.732 MB / 0.6522 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007777/0.8778, allocations: 492 kB / 0.6527 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.881, allocations: 0.6051 MB / 0.6533 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6852/1.566, allocations: 19.63 MB / 0.6725 GB, free: 128.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005039/1.567, allocations: 74.7 kB / 0.6725 GB, free: 128.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002675/1.57, allocations: 296.3 kB / 0.6728 GB, free: 128.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01008/1.58, allocations: 3.645 MB / 0.6764 GB, free: 128.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05009/1.63, allocations: 15.31 MB / 0.6913 GB, free: 125.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1353/1.765, allocations: 73.32 MB / 0.7629 GB, free: 73.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0278/1.793, allocations: 6.117 MB / 0.7689 GB, free: 68.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0309/1.824, allocations: 11.32 MB / 0.78 GB, free: 57.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.824, allocations: 60.5 kB / 0.78 GB, free: 57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=250): time 6.894e-06/1.824, allocations: 4 kB / 0.78 GB, free: 57 MB / 490.8 MB Notification: Performance of matching and sorting (n=274): time 0.07157/1.896, allocations: 16.89 MB / 0.7965 GB, free: 40.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/1.896, allocations: 154.5 kB / 0.7967 GB, free: 39.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01466/1.91, allocations: 7.216 MB / 0.8037 GB, free: 32.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005935/1.911, allocations: 69.64 kB / 0.8038 GB, free: 32.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004291/1.915, allocations: 5.526 MB / 0.8092 GB, free: 27.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.917, allocations: 1.059 MB / 0.8102 GB, free: 26.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009862/1.918, allocations: 186.7 kB / 0.8104 GB, free: 25.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007893/1.919, allocations: 0.7079 MB / 0.8111 GB, free: 25.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007932/1.927, allocations: 2.708 MB / 0.8137 GB, free: 22.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/1.938, allocations: 8.551 MB / 0.8221 GB, free: 10.96 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.949, allocations: 4.637 MB / 0.8266 GB, free: 6.328 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001859/1.949, allocations: 64 kB / 0.8267 GB, free: 6.266 MB / 490.8 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02931/1.979, allocations: 10.71 MB / 0.8371 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/1.979, allocations: 97.44 kB / 0.8372 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003471/1.979, allocations: 208 kB / 0.8374 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/1.98, allocations: 312 kB / 0.8377 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/1.994, allocations: 2.183 MB / 0.8398 GB, free: 8.766 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/1.994, allocations: 406.5 kB / 0.8402 GB, free: 8.367 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.004, allocations: 471.4 kB / 0.8407 GB, free: 7.906 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.006, allocations: 0.5765 MB / 0.8412 GB, free: 7.332 MB / 0.4949 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 (1179): * Single equations (assignments): 1168 * 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.01013/2.016, allocations: 3.759 MB / 0.8449 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/2.018, allocations: 0.5899 MB / 0.8455 GB, free: 2.965 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009623/2.027, allocations: 2.988 MB / 0.8484 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/2.028, allocations: 31.95 kB / 0.8484 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/2.028, allocations: 0 / 0.8484 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/2.028, allocations: 15.95 kB / 0.8485 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4119/2.44, allocations: 25.15 MB / 0.873 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002366/2.44, allocations: 62.84 kB / 0.8731 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004206/2.444, allocations: 0.6162 MB / 0.8737 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/2.444, allocations: 94.41 kB / 0.8738 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006246/2.445, allocations: 133.8 kB / 0.8739 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001229/2.445, allocations: 123.8 kB / 0.874 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-05/2.445, allocations: 100.1 kB / 0.8741 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/2.458, allocations: 17.41 MB / 0.8911 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/2.46, allocations: 0.7433 MB / 0.8918 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/2.462, allocations: 147.1 kB / 0.892 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005236/2.467, allocations: 155.2 kB / 0.8921 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009753/2.468, allocations: 423.4 kB / 0.8925 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004216/2.469, allocations: 171.7 kB / 0.8927 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01162/2.48, allocations: 4.576 MB / 0.8972 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.21e-07/2.48, allocations: 0 / 0.8972 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0115/2.492, allocations: 1.579 MB / 0.8987 GB, free: 123.6 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.001359/2.493, allocations: 349.5 kB / 0.899 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01548/2.509, allocations: 6.341 MB / 0.9052 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.797e-05/2.509, allocations: 9.312 kB / 0.9052 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/2.513, allocations: 1.641 MB / 0.9068 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00801/2.521, allocations: 0.9075 MB / 0.9077 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0504/2.572, allocations: 22.18 MB / 0.9294 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/2.585, allocations: 5.978 MB / 0.9352 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/2.588, allocations: 0.4896 MB / 0.9357 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/2.588, allocations: 0 / 0.9357 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1902/2.778, allocations: 95.76 MB / 1.029 GB, free: 18.89 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/jenkins1/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