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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 108.7 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2374/0.2374, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 73.45 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02079/0.1707, allocations: 18.01 MB / 0.5055 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1871, allocations: 5.424 MB / 0.5108 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005185/0.1923, allocations: 127.7 kB / 0.5109 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01385/0.2062, allocations: 6.11 MB / 0.5168 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.2176, allocations: 3.276 MB / 0.52 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.2222, allocations: 1.579 MB / 0.5216 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01511/0.2374, allocations: 8.39 MB / 0.5298 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3532/0.5906, allocations: 7.716 MB / 0.5373 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008229/0.5989, allocations: 3.257 MB / 0.5405 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.6098, allocations: 4.328 MB / 0.5447 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004279/0.6141, allocations: 0.6661 MB / 0.5454 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.6216, allocations: 1.48 MB / 0.5468 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00831/0.63, allocations: 4.042 MB / 0.5508 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01468/0.6447, allocations: 4.447 MB / 0.5551 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.6675, allocations: 13.61 MB / 0.5684 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.6676, allocations: 0 / 0.5684 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.43e-06/0.6676, allocations: 0 / 0.5684 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008273/0.6685, allocations: 3.094 kB / 0.5684 GB, free: 12.92 MB / 430.1 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.03495/0.7034, allocations: 9.535 MB / 0.5777 GB, free: 6.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.7035, allocations: 15.11 kB / 0.5777 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.7166, allocations: 2.709 MB / 0.5804 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.7302, allocations: 5.153 MB / 0.5854 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/0.7307, allocations: 484.9 kB / 0.5859 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003719/0.7344, allocations: 0.6121 MB / 0.5865 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05548/0.79, allocations: 19.49 MB / 0.6055 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004148/0.7904, allocations: 74.48 kB / 0.6056 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002801/0.7932, allocations: 299.2 kB / 0.6059 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00665/0.7999, allocations: 3.638 MB / 0.6094 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03967/0.8396, allocations: 15.17 MB / 0.6242 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/0.9545, allocations: 72.72 MB / 0.6952 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/0.9745, allocations: 6.107 MB / 0.7012 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/0.9797, allocations: 2.547 MB / 0.7037 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02317/1.003, allocations: 11.16 MB / 0.7146 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/1.003, allocations: 60.56 kB / 0.7147 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 7.144e-06/1.003, allocations: 4 kB / 0.7147 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.04683/1.05, allocations: 16.33 MB / 0.7306 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/1.05, allocations: 157.3 kB / 0.7307 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01479/1.065, allocations: 6.775 MB / 0.7374 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005827/1.065, allocations: 69.7 kB / 0.7374 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005546/1.071, allocations: 5.733 MB / 0.743 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.073, allocations: 1.058 MB / 0.7441 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00468/1.077, allocations: 1.891 MB / 0.7459 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.078, allocations: 301.1 kB / 0.7462 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/1.083, allocations: 2.775 MB / 0.7489 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3/1.383, allocations: 8.664 MB / 0.7574 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01469/1.398, allocations: 12.44 MB / 0.7695 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003182/1.398, allocations: 59.53 kB / 0.7696 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02652/1.425, allocations: 11.1 MB / 0.7804 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.425, allocations: 95.72 kB / 0.7805 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/1.425, allocations: 214 kB / 0.7807 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/1.426, allocations: 277.9 kB / 0.781 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00767/1.433, allocations: 2.211 MB / 0.7831 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/1.434, allocations: 410 kB / 0.7835 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007332/1.441, allocations: 469.9 kB / 0.784 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/1.443, allocations: 0.5771 MB / 0.7845 GB, free: 177.3 MB / 0.5919 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.006697/1.449, allocations: 3.768 MB / 0.7882 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009965/1.45, allocations: 0.5811 MB / 0.7888 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.455, allocations: 2.984 MB / 0.7917 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/1.455, allocations: 33.98 kB / 0.7917 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.455, allocations: 1.031 kB / 0.7917 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.455, allocations: 16.14 kB / 0.7917 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03799/1.493, allocations: 25.14 MB / 0.8163 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-05/1.493, allocations: 64 kB / 0.8164 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.495, allocations: 0.6104 MB / 0.817 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/1.495, allocations: 84 kB / 0.817 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/1.496, allocations: 135.9 kB / 0.8172 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.076e-05/1.496, allocations: 126.5 kB / 0.8173 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-05/1.496, allocations: 99.56 kB / 0.8174 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/1.502, allocations: 5.887 MB / 0.8231 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.503, allocations: 0.7099 MB / 0.8238 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006131/1.504, allocations: 152.1 kB / 0.824 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.506, allocations: 152.5 kB / 0.8241 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/1.507, allocations: 426 kB / 0.8245 GB, free: 153 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.507, allocations: 168 kB / 0.8247 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005845/1.513, allocations: 4.238 MB / 0.8288 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.513, allocations: 0 / 0.8288 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008636/1.521, allocations: 1.558 MB / 0.8303 GB, free: 147.9 MB / 0.5919 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.0005964/1.522, allocations: 339.3 kB / 0.8307 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.532, allocations: 6.598 MB / 0.8371 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.419e-05/1.532, allocations: 8 kB / 0.8371 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.535, allocations: 1.646 MB / 0.8387 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008277/1.543, allocations: 0.9918 MB / 0.8397 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/1.579, allocations: 17.98 MB / 0.8573 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008429/1.587, allocations: 5.795 MB / 0.8629 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006456/1.594, allocations: 2.888 MB / 0.8657 GB, free: 112 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.595, allocations: 421.1 kB / 0.8661 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/1.595, allocations: 0 / 0.8661 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.08872/1.683, allocations: 45.96 MB / 0.911 GB, free: 65.76 MB / 0.5919 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches