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.001399/0.001399, allocations: 109.9 kB / 17.08 MB, free: 6.004 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.001396/0.001396, allocations: 199 kB / 18.01 MB, free: 5.086 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.319/1.319, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2047/0.2047, allocations: 43.52 MB / 314.8 MB, free: 460 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.001448/0.001448, allocations: 76.41 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01742/0.1313, allocations: 18 MB / 0.5061 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1421, allocations: 5.42 MB / 0.5114 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.1451, allocations: 131.6 kB / 0.5115 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.1559, allocations: 6.098 MB / 0.5175 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007909/0.1639, allocations: 3.171 MB / 0.5206 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.1677, allocations: 1.583 MB / 0.5221 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.1795, allocations: 8.394 MB / 0.5303 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2146/0.3941, allocations: 7.719 MB / 0.5379 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.3997, allocations: 3.255 MB / 0.5411 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007209/0.4069, allocations: 4.328 MB / 0.5453 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002834/0.4098, allocations: 0.6658 MB / 0.5459 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.4143, allocations: 1.486 MB / 0.5474 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005346/0.4197, allocations: 4.041 MB / 0.5513 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007053/0.4268, allocations: 4.447 MB / 0.5557 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4414, allocations: 13.61 MB / 0.569 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4414, allocations: 0 / 0.569 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4415, allocations: 0 / 0.569 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004792/0.4419, allocations: 0 / 0.569 GB, free: 12.73 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.02425/0.4662, allocations: 9.534 MB / 0.5783 GB, free: 6.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4663, allocations: 15.05 kB / 0.5783 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.4784, allocations: 2.71 MB / 0.5809 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.4905, allocations: 5.155 MB / 0.586 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004684/0.491, allocations: 491.6 kB / 0.5864 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.4934, allocations: 0.6054 MB / 0.587 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/0.5307, allocations: 19.49 MB / 0.6061 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/0.5311, allocations: 73.64 kB / 0.6061 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/0.5332, allocations: 296 kB / 0.6064 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005723/0.5389, allocations: 3.642 MB / 0.61 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/0.5718, allocations: 15.17 MB / 0.6248 GB, free: 8.727 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1047/0.6766, allocations: 72.72 MB / 0.6958 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.6938, allocations: 6.094 MB / 0.7018 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/0.6982, allocations: 2.549 MB / 0.7042 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02293/0.7212, allocations: 11.17 MB / 0.7152 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.7213, allocations: 56.56 kB / 0.7152 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 6.362e-06/0.7213, allocations: 6.812 kB / 0.7152 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.04777/0.769, allocations: 16.33 MB / 0.7312 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7692, allocations: 154.5 kB / 0.7313 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/0.7834, allocations: 6.771 MB / 0.7379 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005566/0.784, allocations: 61.7 kB / 0.738 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004893/0.7889, allocations: 5.736 MB / 0.7436 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.7904, allocations: 1.065 MB / 0.7446 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004813/0.7952, allocations: 1.896 MB / 0.7465 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.7953, allocations: 301.1 kB / 0.7468 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/0.8008, allocations: 2.767 MB / 0.7495 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2455/1.046, allocations: 8.663 MB / 0.7579 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.059, allocations: 12.43 MB / 0.7701 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/1.06, allocations: 60.12 kB / 0.7701 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02207/1.082, allocations: 11.12 MB / 0.781 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/1.082, allocations: 95.3 kB / 0.7811 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003736/1.082, allocations: 208.7 kB / 0.7813 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/1.083, allocations: 279.2 kB / 0.7815 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/1.09, allocations: 2.214 MB / 0.7837 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000466/1.091, allocations: 411.6 kB / 0.7841 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007932/1.099, allocations: 461.1 kB / 0.7845 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/1.101, allocations: 0.5802 MB / 0.7851 GB, free: 177.1 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.00877/1.11, allocations: 3.765 MB / 0.7888 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.111, allocations: 0.5858 MB / 0.7893 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/1.116, allocations: 2.985 MB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/1.116, allocations: 29.31 kB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.116, allocations: 0 / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.116, allocations: 16.77 kB / 0.7923 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03302/1.149, allocations: 25.14 MB / 0.8168 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.685e-05/1.15, allocations: 64 kB / 0.8169 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.152, allocations: 0.6078 MB / 0.8175 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.823e-05/1.152, allocations: 84 kB / 0.8176 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.152, allocations: 153.3 kB / 0.8177 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/1.152, allocations: 122.3 kB / 0.8178 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.021e-05/1.152, allocations: 99.56 kB / 0.8179 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/1.157, allocations: 5.879 MB / 0.8237 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.159, allocations: 0.7174 MB / 0.8244 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.16, allocations: 151.1 kB / 0.8245 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.163, allocations: 148.3 kB / 0.8247 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.164, allocations: 422.3 kB / 0.8251 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.164, allocations: 171.8 kB / 0.8252 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006769/1.171, allocations: 4.244 MB / 0.8294 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/1.171, allocations: 0 / 0.8294 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01028/1.181, allocations: 1.558 MB / 0.8309 GB, free: 147.7 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.001206/1.182, allocations: 332.1 kB / 0.8312 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.192, allocations: 6.596 MB / 0.8377 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-05/1.192, allocations: 14 kB / 0.8377 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/1.195, allocations: 1.654 MB / 0.8393 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007446/1.202, allocations: 0.9758 MB / 0.8402 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.232, allocations: 18.81 MB / 0.8586 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008738/1.241, allocations: 5.787 MB / 0.8643 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/1.243, allocations: 499.4 kB / 0.8647 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/1.243, allocations: 0 / 0.8647 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1243/1.367, allocations: 100.1 MB / 0.9625 GB, free: 13.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/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