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.0009511/0.0009511, allocations: 114.4 kB / 17.78 MB, free: 5.277 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.001/0.001, allocations: 183.8 kB / 18.72 MB, free: 4.352 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 60.82 MB / 0.5189 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01062/0.3788, allocations: 9.773 MB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3855, allocations: 2.931 MB / 0.5313 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.3872, allocations: 53.78 kB / 0.5314 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.391, allocations: 2.008 MB / 0.5333 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.3942, allocations: 1.159 MB / 0.5344 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.3949, allocations: 291 kB / 0.5347 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.3985, allocations: 2.321 MB / 0.537 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.4009, allocations: 1.941 MB / 0.5389 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.4023, allocations: 0.8956 MB / 0.5398 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.4038, allocations: 1.179 MB / 0.5409 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.4042, allocations: 197.4 kB / 0.5411 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4057, allocations: 0.7039 MB / 0.5418 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.4068, allocations: 1.184 MB / 0.5429 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.4082, allocations: 1.355 MB / 0.5443 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004601/0.4128, allocations: 4.47 MB / 0.5486 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4128, allocations: 4 kB / 0.5486 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4128, allocations: 0 / 0.5486 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.4129, allocations: 0 / 0.5486 GB, free: 13.5 MB / 414.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.005353/0.4182, allocations: 3.016 MB / 0.5516 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4183, allocations: 12.03 kB / 0.5516 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/0.4237, allocations: 1.602 MB / 0.5532 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.4263, allocations: 1.368 MB / 0.5545 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-05/0.4264, allocations: 144.1 kB / 0.5546 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.4267, allocations: 187.8 kB / 0.5548 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.4384, allocations: 6.432 MB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.4384, allocations: 11.88 kB / 0.5611 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.4387, allocations: 91.91 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.441, allocations: 1.407 MB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.4524, allocations: 5.491 MB / 0.5679 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.4815, allocations: 20.5 MB / 0.5879 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.4857, allocations: 1.942 MB / 0.5898 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.4866, allocations: 0.6367 MB / 0.5905 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006427/0.493, allocations: 3.644 MB / 0.594 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4931, allocations: 39 kB / 0.5941 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.108e-06/0.4931, allocations: 3.938 kB / 0.5941 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005374/0.4984, allocations: 1.994 MB / 0.596 GB, free: 11.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4985, allocations: 59.78 kB / 0.5961 GB, free: 11.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.5011, allocations: 1.959 MB / 0.598 GB, free: 9.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.5012, allocations: 37.7 kB / 0.598 GB, free: 9.637 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.5026, allocations: 1.965 MB / 0.5999 GB, free: 7.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.5029, allocations: 325.6 kB / 0.6002 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007839/0.5037, allocations: 0.6274 MB / 0.6009 GB, free: 6.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5039, allocations: 357.9 kB / 0.6012 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.5052, allocations: 0.8881 MB / 0.6021 GB, free: 5.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.5077, allocations: 2.778 MB / 0.6048 GB, free: 1.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.5124, allocations: 3.988 MB / 0.6087 GB, free: 12.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.5124, allocations: 20 kB / 0.6087 GB, free: 12.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005677/0.5181, allocations: 3.57 MB / 0.6122 GB, free: 9.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.5182, allocations: 32 kB / 0.6122 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.25e-05/0.5182, allocations: 68 kB / 0.6123 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.5184, allocations: 92 kB / 0.6124 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.5202, allocations: 0.6589 MB / 0.613 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/0.5203, allocations: 131.5 kB / 0.6131 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.5226, allocations: 437 kB / 0.6135 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.5229, allocations: 188 kB / 0.6137 GB, free: 7.613 MB / 478.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.002041/0.5249, allocations: 1.369 MB / 0.6151 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.5251, allocations: 170.8 kB / 0.6152 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5254, allocations: 201.2 kB / 0.6154 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.5254, allocations: 8 kB / 0.6154 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5255, allocations: 0 / 0.6154 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5255, allocations: 3.984 kB / 0.6154 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.5317, allocations: 4.104 MB / 0.6194 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5317, allocations: 7.938 kB / 0.6194 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.5321, allocations: 108.7 kB / 0.6195 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.5321, allocations: 8 kB / 0.6196 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.5321, allocations: 16 kB / 0.6196 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.5321, allocations: 19.92 kB / 0.6196 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5321, allocations: 8 kB / 0.6196 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.5336, allocations: 1.264 MB / 0.6208 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.5341, allocations: 259.7 kB / 0.6211 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5342, allocations: 20 kB / 0.6211 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.5347, allocations: 27.92 kB / 0.6211 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5348, allocations: 67.7 kB / 0.6212 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.5349, allocations: 31.98 kB / 0.6212 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.5367, allocations: 1.287 MB / 0.6225 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5367, allocations: 0 / 0.6225 GB, free: 14.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002912/0.5396, allocations: 0.7163 MB / 0.6232 GB, free: 13.66 MB / 494.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.0002967/0.5399, allocations: 147 kB / 0.6233 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.5428, allocations: 1.964 MB / 0.6252 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.5428, allocations: 0 / 0.6252 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.5433, allocations: 437 kB / 0.6257 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5445, allocations: 257 kB / 0.6259 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.5523, allocations: 5.248 MB / 0.631 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.5545, allocations: 2.319 MB / 0.6333 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001924/0.5564, allocations: 0.9677 MB / 0.6342 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.5567, allocations: 127.4 kB / 0.6344 GB, free: 2.062 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5567, allocations: 0 / 0.6344 GB, free: 2.062 MB / 494.1 MB Notification: Performance of Templates: time 0.03042/0.5871, allocations: 15.44 MB / 0.6494 GB, free: 2.66 MB / 0.4981 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/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