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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009493/0.0009494, allocations: 97.69 kB / 18.01 MB, free: 5.734 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.001074/0.001074, allocations: 181.6 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 243 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.24 MB / 338.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 61.93 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3282/0.436, allocations: 97.08 MB / 0.5566 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05108/0.4872, allocations: 18.86 MB / 0.5751 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02492/0.5121, allocations: 438.9 kB / 0.5755 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.5154, allocations: 0.6685 MB / 0.5761 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008845/0.5243, allocations: 2.709 MB / 0.5788 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.5278, allocations: 1.261 MB / 0.58 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.543, allocations: 11.21 MB / 0.5909 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.5602, allocations: 10.43 MB / 0.6011 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005345/0.5656, allocations: 2.257 MB / 0.6033 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006606/0.5723, allocations: 3.554 MB / 0.6068 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.5741, allocations: 256 kB / 0.6071 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.5778, allocations: 1.162 MB / 0.6082 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.5823, allocations: 3.214 MB / 0.6113 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005719/0.588, allocations: 3.51 MB / 0.6148 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5999, allocations: 9.274 MB / 0.6238 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6, allocations: 7.938 kB / 0.6238 GB, free: 9.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6, allocations: 0 / 0.6238 GB, free: 9.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004872/0.6005, allocations: 0 / 0.6238 GB, free: 9.707 MB / 462.1 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.01581/0.6163, allocations: 7.187 MB / 0.6308 GB, free: 2.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6164, allocations: 19.97 kB / 0.6309 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.6275, allocations: 2.635 MB / 0.6334 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009831/0.6374, allocations: 4.595 MB / 0.6379 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.6379, allocations: 435.2 kB / 0.6383 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.64, allocations: 0.5543 MB / 0.6389 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.6751, allocations: 17.49 MB / 0.6559 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002616/0.6755, allocations: 75.34 kB / 0.656 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.6769, allocations: 263.8 kB / 0.6563 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005418/0.6823, allocations: 3.174 MB / 0.6594 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/0.7128, allocations: 13.46 MB / 0.6725 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5272/1.24, allocations: 65.99 MB / 0.737 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.255, allocations: 5.403 MB / 0.7422 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/1.258, allocations: 2.117 MB / 0.7443 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/1.273, allocations: 10.01 MB / 0.7541 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.273, allocations: 61.12 kB / 0.7541 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.509e-06/1.273, allocations: 0 / 0.7541 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.0366/1.31, allocations: 14.24 MB / 0.768 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/1.31, allocations: 151.6 kB / 0.7682 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008165/1.318, allocations: 6.383 MB / 0.7744 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/1.318, allocations: 57.2 kB / 0.7745 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002652/1.321, allocations: 5.235 MB / 0.7796 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006952/1.322, allocations: 0.8194 MB / 0.7804 GB, free: 121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008356/1.322, allocations: 0.7499 MB / 0.7811 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/1.323, allocations: 305 kB / 0.7814 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/1.326, allocations: 2.342 MB / 0.7837 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/1.331, allocations: 7.77 MB / 0.7913 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/1.34, allocations: 10.99 MB / 0.802 GB, free: 94.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/1.34, allocations: 56 kB / 0.8021 GB, free: 94.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01575/1.356, allocations: 9.752 MB / 0.8116 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.356, allocations: 89.88 kB / 0.8117 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.356, allocations: 192.6 kB / 0.8119 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/1.356, allocations: 252 kB / 0.8121 GB, free: 83.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/1.362, allocations: 1.95 MB / 0.814 GB, free: 81.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/1.362, allocations: 378.5 kB / 0.8144 GB, free: 81.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/1.369, allocations: 412.9 kB / 0.8148 GB, free: 81.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.37, allocations: 0.522 MB / 0.8153 GB, free: 80.66 MB / 0.5294 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.004872/1.374, allocations: 3.414 MB / 0.8186 GB, free: 77.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008654/1.375, allocations: 0.532 MB / 0.8191 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.376, allocations: 0.6326 MB / 0.8197 GB, free: 76.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/1.377, allocations: 20 kB / 0.8198 GB, free: 76.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.377, allocations: 0 / 0.8198 GB, free: 76.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.377, allocations: 15.97 kB / 0.8198 GB, free: 76.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.396, allocations: 15.26 MB / 0.8347 GB, free: 60.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/1.396, allocations: 44 kB / 0.8347 GB, free: 60.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.397, allocations: 443.3 kB / 0.8351 GB, free: 59.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-05/1.397, allocations: 63.98 kB / 0.8352 GB, free: 59.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.397, allocations: 100.5 kB / 0.8353 GB, free: 59.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.974e-05/1.397, allocations: 87.66 kB / 0.8354 GB, free: 59.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.978e-05/1.397, allocations: 75.69 kB / 0.8355 GB, free: 59.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.401, allocations: 4.307 MB / 0.8397 GB, free: 54.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.402, allocations: 0.6443 MB / 0.8403 GB, free: 53.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005993/1.403, allocations: 108 kB / 0.8404 GB, free: 53.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.405, allocations: 115.9 kB / 0.8405 GB, free: 53.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/1.405, allocations: 310.5 kB / 0.8408 GB, free: 53.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.405, allocations: 129.5 kB / 0.8409 GB, free: 52.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005795/1.411, allocations: 3.984 MB / 0.8448 GB, free: 49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/1.411, allocations: 0 / 0.8448 GB, free: 49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006892/1.418, allocations: 1.363 MB / 0.8461 GB, free: 47.64 MB / 0.5294 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.0004832/1.419, allocations: 278.7 kB / 0.8464 GB, free: 47.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0071/1.426, allocations: 5.402 MB / 0.8517 GB, free: 42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.01e-05/1.426, allocations: 8 kB / 0.8517 GB, free: 42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/1.427, allocations: 1.207 MB / 0.8529 GB, free: 40.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0442/1.471, allocations: 0.8905 MB / 0.8537 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02784/1.499, allocations: 20.02 MB / 0.8733 GB, free: 19.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008227/1.508, allocations: 5.254 MB / 0.8784 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.509, allocations: 419.4 kB / 0.8788 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/1.509, allocations: 0 / 0.8788 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.3656/1.875, allocations: 85.19 MB / 0.962 GB, free: 176.1 MB / 0.5607 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches