Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 106.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3348/0.3348, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009779/0.000978, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2933, allocations: 60.81 MB / 0.5064 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.07573/0.3691, allocations: 99.37 MB / 0.6034 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0452/0.4144, allocations: 18.93 MB / 0.6219 GB, free: 9.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01993/0.4343, allocations: 442.9 kB / 0.6223 GB, free: 9.023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.4451, allocations: 6.055 MB / 0.6283 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007247/0.4524, allocations: 2.702 MB / 0.6309 GB, free: 248 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.4559, allocations: 1.486 MB / 0.6323 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.4686, allocations: 11.26 MB / 0.6433 GB, free: 3.473 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.479, allocations: 7.457 MB / 0.6506 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/0.4841, allocations: 2.776 MB / 0.6533 GB, free: 9.145 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/0.4906, allocations: 4.171 MB / 0.6574 GB, free: 4.961 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002506/0.4931, allocations: 464 kB / 0.6578 GB, free: 4.508 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005467/0.4986, allocations: 1.377 MB / 0.6592 GB, free: 3.129 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006372/0.505, allocations: 3.514 MB / 0.6626 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005738/0.5108, allocations: 3.863 MB / 0.6664 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.5218, allocations: 11.58 MB / 0.6777 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5219, allocations: 0 / 0.6777 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5219, allocations: 0 / 0.6777 GB, free: 100 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003806/0.5223, allocations: 0 / 0.6777 GB, free: 100 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.4252/0.9475, allocations: 8.728 MB / 0.6862 GB, free: 135.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.9475, allocations: 12.78 kB / 0.6862 GB, free: 135.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.959, allocations: 2.587 MB / 0.6888 GB, free: 134.7 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.9707, allocations: 4.594 MB / 0.6933 GB, free: 132.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/0.9714, allocations: 441.5 kB / 0.6937 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.9743, allocations: 0.5563 MB / 0.6942 GB, free: 132.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/1.011, allocations: 17.43 MB / 0.7112 GB, free: 124.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.011, allocations: 82.72 kB / 0.7113 GB, free: 124.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.012, allocations: 266.4 kB / 0.7116 GB, free: 124.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005916/1.018, allocations: 3.17 MB / 0.7147 GB, free: 123.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/1.05, allocations: 13.41 MB / 0.7278 GB, free: 114.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08155/1.132, allocations: 66.13 MB / 0.7924 GB, free: 46.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.145, allocations: 5.387 MB / 0.7976 GB, free: 41.26 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/1.148, allocations: 2.113 MB / 0.7997 GB, free: 39.14 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/1.163, allocations: 10.01 MB / 0.8094 GB, free: 28.63 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.163, allocations: 59.81 kB / 0.8095 GB, free: 28.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=182): time 5.11e-06/1.163, allocations: 4 kB / 0.8095 GB, free: 28.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=206): time 0.04324/1.206, allocations: 14.17 MB / 0.8233 GB, free: 14.38 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.206, allocations: 149.8 kB / 0.8235 GB, free: 14.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009744/1.216, allocations: 6.382 MB / 0.8297 GB, free: 7.824 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/1.216, allocations: 57.69 kB / 0.8298 GB, free: 7.762 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.219, allocations: 5.238 MB / 0.8349 GB, free: 2.453 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.219, allocations: 0.8219 MB / 0.8357 GB, free: 1.621 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/1.221, allocations: 1.702 MB / 0.8374 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/1.221, allocations: 301.1 kB / 0.8376 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/1.225, allocations: 2.347 MB / 0.8399 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/1.232, allocations: 7.76 MB / 0.8475 GB, free: 2.773 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.245, allocations: 11 MB / 0.8583 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/1.245, allocations: 56 kB / 0.8583 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01873/1.264, allocations: 9.745 MB / 0.8678 GB, free: 11.27 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.264, allocations: 88 kB / 0.8679 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/1.264, allocations: 196.9 kB / 0.8681 GB, free: 10.99 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/1.264, allocations: 252 kB / 0.8683 GB, free: 10.74 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/1.27, allocations: 1.949 MB / 0.8702 GB, free: 8.789 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002541/1.27, allocations: 374.5 kB / 0.8706 GB, free: 8.422 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/1.275, allocations: 419.5 kB / 0.871 GB, free: 8.012 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/1.276, allocations: 0.5195 MB / 0.8715 GB, free: 7.492 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1055): * Single equations (assignments): 1044 * 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.004709/1.281, allocations: 3.402 MB / 0.8748 GB, free: 4.074 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008085/1.282, allocations: 0.536 MB / 0.8754 GB, free: 3.531 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/1.283, allocations: 0.6287 MB / 0.876 GB, free: 2.898 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/1.283, allocations: 24.19 kB / 0.876 GB, free: 2.875 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.283, allocations: 0 / 0.876 GB, free: 2.875 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.283, allocations: 15.89 kB / 0.876 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2582/1.541, allocations: 15.26 MB / 0.8909 GB, free: 155.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-05/1.541, allocations: 48.34 kB / 0.8909 GB, free: 155.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.542, allocations: 445.9 kB / 0.8914 GB, free: 155 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.305e-05/1.542, allocations: 64.72 kB / 0.8914 GB, free: 155 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.543, allocations: 104.4 kB / 0.8915 GB, free: 155 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-05/1.543, allocations: 93.55 kB / 0.8916 GB, free: 155 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-05/1.543, allocations: 73.34 kB / 0.8917 GB, free: 154.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/1.55, allocations: 6.8 MB / 0.8983 GB, free: 150.8 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.552, allocations: 0.6336 MB / 0.899 GB, free: 150.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/1.552, allocations: 109.9 kB / 0.8991 GB, free: 150.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.554, allocations: 111.8 kB / 0.8992 GB, free: 150.6 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.554, allocations: 312.5 kB / 0.8995 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.554, allocations: 131 kB / 0.8996 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006341/1.561, allocations: 3.977 MB / 0.9035 GB, free: 149.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 3.4e-07/1.561, allocations: 6.75 kB / 0.9035 GB, free: 149.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007573/1.568, allocations: 1.369 MB / 0.9048 GB, free: 149.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.000598/1.569, allocations: 273.8 kB / 0.9051 GB, free: 148.9 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.007823/1.577, allocations: 5.404 MB / 0.9104 GB, free: 147.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.984e-05/1.577, allocations: 6.875 kB / 0.9104 GB, free: 147.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.579, allocations: 1.198 MB / 0.9115 GB, free: 146.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/1.584, allocations: 0.8821 MB / 0.9124 GB, free: 146.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.607, allocations: 20.66 MB / 0.9326 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009445/1.617, allocations: 5.337 MB / 0.9378 GB, free: 132.4 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.006802/1.624, allocations: 2.57 MB / 0.9403 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008746/1.624, allocations: 363.2 kB / 0.9406 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of SimCode: time 1.142e-06/1.624, allocations: 0 / 0.9406 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of Templates: time 0.07579/1.7, allocations: 44.6 MB / 0.9842 GB, free: 90.2 MB / 0.5262 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches