Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008597/0.0008597, allocations: 98.31 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.0008939/0.000894, allocations: 181.7 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.318/1.318, allocations: 223.3 MB / 242.9 MB, free: 184 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.1894/0.1894, allocations: 44.25 MB / 338.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 11.98 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03422/0.1471, allocations: 36.63 MB / 0.4976 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.1646, allocations: 7.526 MB / 0.505 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00604/0.1707, allocations: 151.7 kB / 0.5051 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1718, allocations: 302.6 kB / 0.5054 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2224/0.3943, allocations: 1.06 MB / 0.5064 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3954, allocations: 271.1 kB / 0.5067 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005916/0.4013, allocations: 3.402 MB / 0.51 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/0.4074, allocations: 3.347 MB / 0.5133 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.4092, allocations: 0.6466 MB / 0.5139 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.4116, allocations: 1.058 MB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.4123, allocations: 86.94 kB / 0.515 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.4145, allocations: 0.6305 MB / 0.5156 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.4164, allocations: 1.021 MB / 0.5166 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.4187, allocations: 1.221 MB / 0.5178 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.423, allocations: 3.427 MB / 0.5212 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4231, allocations: 0 / 0.5212 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4231, allocations: 5.375 kB / 0.5212 GB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.4232, allocations: 0.9375 kB / 0.5212 GB, free: 8.977 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005673/0.4289, allocations: 2.418 MB / 0.5235 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.429, allocations: 14.59 kB / 0.5236 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.4348, allocations: 1.623 MB / 0.5251 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.4377, allocations: 1.334 MB / 0.5264 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4379, allocations: 155.5 kB / 0.5266 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.4384, allocations: 195.8 kB / 0.5268 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00985/0.4483, allocations: 6.437 MB / 0.5331 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.4484, allocations: 13.94 kB / 0.5331 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.4486, allocations: 87.33 kB / 0.5332 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/0.4505, allocations: 1.403 MB / 0.5345 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008986/0.4595, allocations: 5.494 MB / 0.5399 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.4896, allocations: 20.6 MB / 0.56 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/0.4939, allocations: 2.007 MB / 0.562 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.495, allocations: 0.6992 MB / 0.5627 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006785/0.5018, allocations: 3.641 MB / 0.5662 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.5019, allocations: 43 kB / 0.5663 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.429e-06/0.5019, allocations: 0 / 0.5663 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005544/0.5075, allocations: 1.976 MB / 0.5682 GB, free: 2.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.5075, allocations: 63.83 kB / 0.5682 GB, free: 2.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.5106, allocations: 1.966 MB / 0.5702 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.5107, allocations: 31.89 kB / 0.5702 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.5121, allocations: 1.881 MB / 0.572 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.5125, allocations: 315 kB / 0.5723 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.5129, allocations: 280.2 kB / 0.5726 GB, free: 14.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.5131, allocations: 357.9 kB / 0.5729 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.5145, allocations: 0.8881 MB / 0.5738 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.5171, allocations: 2.775 MB / 0.5765 GB, free: 9.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.522, allocations: 3.993 MB / 0.5804 GB, free: 4.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.396e-05/0.5221, allocations: 20 kB / 0.5804 GB, free: 4.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006022/0.5281, allocations: 3.548 MB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.5282, allocations: 36 kB / 0.5839 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.389e-05/0.5283, allocations: 68.09 kB / 0.584 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.694e-05/0.5284, allocations: 88 kB / 0.5841 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.5302, allocations: 0.6654 MB / 0.5847 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/0.5304, allocations: 132.2 kB / 0.5849 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.5325, allocations: 419.5 kB / 0.5853 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.5328, allocations: 192 kB / 0.5854 GB, free: 28 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002447/0.5353, allocations: 1.37 MB / 0.5868 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.5355, allocations: 169.7 kB / 0.5869 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.5359, allocations: 197.2 kB / 0.5871 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.536, allocations: 8 kB / 0.5871 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.536, allocations: 0 / 0.5871 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.536, allocations: 3.984 kB / 0.5871 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/0.543, allocations: 4.098 MB / 0.5911 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5431, allocations: 7.938 kB / 0.5912 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.5435, allocations: 112.3 kB / 0.5913 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.5435, allocations: 8 kB / 0.5913 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.5436, allocations: 20 kB / 0.5913 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.5436, allocations: 14.7 kB / 0.5913 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.5436, allocations: 11.25 kB / 0.5913 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.5452, allocations: 1.265 MB / 0.5925 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.5457, allocations: 262.6 kB / 0.5928 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.5458, allocations: 20 kB / 0.5928 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.5463, allocations: 19.98 kB / 0.5928 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/0.5464, allocations: 65.06 kB / 0.5929 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.5465, allocations: 28 kB / 0.5929 GB, free: 8.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002061/0.5486, allocations: 1.286 MB / 0.5942 GB, free: 6.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5486, allocations: 0 / 0.5942 GB, free: 6.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003114/0.5517, allocations: 0.7064 MB / 0.5949 GB, free: 6.238 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003677/0.5521, allocations: 154.8 kB / 0.595 GB, free: 6.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.5554, allocations: 2.038 MB / 0.597 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5554, allocations: 0 / 0.597 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.556, allocations: 461.5 kB / 0.5974 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.5588, allocations: 235.9 kB / 0.5977 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.5698, allocations: 6.878 MB / 0.6044 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.5724, allocations: 2.32 MB / 0.6067 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.573, allocations: 151.4 kB / 0.6068 GB, free: 10.11 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.573, allocations: 3.938 kB / 0.6068 GB, free: 10.11 MB / 462.1 MB Notification: Performance of Templates: time 0.04986/0.6229, allocations: 30.01 MB / 0.6361 GB, free: 12.16 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches