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.001066/0.001066, allocations: 183 kB / 16.63 MB, free: 5.137 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.282/1.282, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001002/0.001002, allocations: 97.67 kB / 269.9 MB, free: 8.434 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.3642/0.3642, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 59.91 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2789/0.3968, allocations: 101.9 MB / 0.5751 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04857/0.4454, allocations: 19.25 MB / 0.5939 GB, free: 292 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02221/0.4677, allocations: 450.1 kB / 0.5944 GB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.4797, allocations: 6.114 MB / 0.6003 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008103/0.4879, allocations: 3.014 MB / 0.6033 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.4917, allocations: 1.492 MB / 0.6047 GB, free: 11.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01519/0.507, allocations: 12.25 MB / 0.6167 GB, free: 0.543 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.5193, allocations: 7.698 MB / 0.6242 GB, free: 8.797 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006548/0.5259, allocations: 2.986 MB / 0.6271 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007823/0.5337, allocations: 4.623 MB / 0.6317 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003025/0.5368, allocations: 0.4961 MB / 0.6321 GB, free: 0.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.5425, allocations: 1.385 MB / 0.6335 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006015/0.5485, allocations: 3.865 MB / 0.6373 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007679/0.5563, allocations: 4.29 MB / 0.6415 GB, free: 7.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.5733, allocations: 12.98 MB / 0.6541 GB, free: 10.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.5734, allocations: 4 kB / 0.6541 GB, free: 10.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5734, allocations: 4 kB / 0.6541 GB, free: 10.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007003/0.5741, allocations: 0 / 0.6541 GB, free: 10.06 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.02223/0.5964, allocations: 9.528 MB / 0.6634 GB, free: 452 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5964, allocations: 12.03 kB / 0.6634 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.6079, allocations: 2.708 MB / 0.6661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.619, allocations: 5.036 MB / 0.671 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.6196, allocations: 492.3 kB / 0.6715 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/0.6219, allocations: 0.6089 MB / 0.6721 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03498/0.6569, allocations: 19.48 MB / 0.6911 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.6572, allocations: 79.33 kB / 0.6912 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.6587, allocations: 299.7 kB / 0.6915 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3584/1.017, allocations: 3.634 MB / 0.695 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/1.046, allocations: 15.17 MB / 0.7098 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08698/1.133, allocations: 73.11 MB / 0.7812 GB, free: 96.26 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.148, allocations: 6.117 MB / 0.7872 GB, free: 91.29 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/1.152, allocations: 2.54 MB / 0.7897 GB, free: 88.74 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01976/1.172, allocations: 11.17 MB / 0.8006 GB, free: 77.19 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.172, allocations: 64.48 kB / 0.8007 GB, free: 77.12 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=250): time 6.933e-06/1.172, allocations: 5.688 kB / 0.8007 GB, free: 77.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=274): time 0.03695/1.209, allocations: 16.33 MB / 0.8166 GB, free: 60.81 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.209, allocations: 162.5 kB / 0.8168 GB, free: 60.62 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008936/1.218, allocations: 6.771 MB / 0.8234 GB, free: 53.86 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003484/1.218, allocations: 73.62 kB / 0.8234 GB, free: 53.79 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/1.221, allocations: 5.731 MB / 0.829 GB, free: 47.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009263/1.222, allocations: 1.045 MB / 0.8301 GB, free: 46.92 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/1.225, allocations: 1.896 MB / 0.8319 GB, free: 45.01 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/1.225, allocations: 309.1 kB / 0.8322 GB, free: 44.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/1.229, allocations: 2.767 MB / 0.8349 GB, free: 41.93 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006779/1.236, allocations: 8.67 MB / 0.8434 GB, free: 30.34 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.246, allocations: 12.44 MB / 0.8555 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.246, allocations: 60 kB / 0.8556 GB, free: 14.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01548/1.262, allocations: 11.11 MB / 0.8664 GB, free: 3.797 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.262, allocations: 93.72 kB / 0.8665 GB, free: 3.707 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/1.262, allocations: 212 kB / 0.8667 GB, free: 3.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/1.263, allocations: 274.1 kB / 0.867 GB, free: 3.234 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.269, allocations: 2.215 MB / 0.8692 GB, free: 1.016 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003067/1.27, allocations: 406.6 kB / 0.8695 GB, free: 0.6172 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/1.276, allocations: 467.5 kB / 0.87 GB, free: 164 kB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.277, allocations: 0.5819 MB / 0.8706 GB, free: 15.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007877/1.285, allocations: 3.756 MB / 0.8742 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.287, allocations: 0.5861 MB / 0.8748 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006045/1.293, allocations: 2.995 MB / 0.8777 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/1.293, allocations: 28 kB / 0.8777 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.293, allocations: 4 kB / 0.8777 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.293, allocations: 11.95 kB / 0.8778 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2384/1.531, allocations: 25.12 MB / 0.9023 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.818e-05/1.531, allocations: 68.8 kB / 0.9024 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.533, allocations: 0.6096 MB / 0.903 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/1.533, allocations: 82.12 kB / 0.903 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.533, allocations: 140.3 kB / 0.9032 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-05/1.534, allocations: 126.1 kB / 0.9033 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-05/1.534, allocations: 98.44 kB / 0.9034 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/1.541, allocations: 8.914 MB / 0.9121 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.543, allocations: 0.7076 MB / 0.9128 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005776/1.543, allocations: 145.9 kB / 0.9129 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.546, allocations: 163.1 kB / 0.9131 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.546, allocations: 426.3 kB / 0.9135 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.546, allocations: 174 kB / 0.9136 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00639/1.553, allocations: 4.228 MB / 0.9178 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.553, allocations: 1.062 kB / 0.9178 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00928/1.562, allocations: 1.566 MB / 0.9193 GB, free: 137.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/1.563, allocations: 336.2 kB / 0.9196 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.574, allocations: 6.446 MB / 0.9259 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-05/1.574, allocations: 9.375 kB / 0.9259 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002903/1.577, allocations: 1.647 MB / 0.9275 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007152/1.584, allocations: 0.9497 MB / 0.9285 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.615, allocations: 24.1 MB / 0.952 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/1.624, allocations: 5.905 MB / 0.9578 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00764/1.631, allocations: 2.885 MB / 0.9606 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.633, allocations: 424.3 kB / 0.961 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/1.633, allocations: 0 / 0.961 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.08521/1.718, allocations: 50.99 MB / 1.011 GB, free: 64.47 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@2/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