Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3103/0.3103, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.385, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01092/0.396, allocations: 9.536 MB / 0.5403 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007465/0.4035, allocations: 2.921 MB / 0.5431 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.4056, allocations: 48.41 kB / 0.5432 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.4098, allocations: 1.998 MB / 0.5451 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.4134, allocations: 1.107 MB / 0.5462 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.4144, allocations: 285.9 kB / 0.5465 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.4177, allocations: 2.337 MB / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.4202, allocations: 2.298 MB / 0.551 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4214, allocations: 0.8801 MB / 0.5519 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.4228, allocations: 1.149 MB / 0.553 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.4231, allocations: 200 kB / 0.5532 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4243, allocations: 0.6982 MB / 0.5539 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.4252, allocations: 1.103 MB / 0.555 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4262, allocations: 1.308 MB / 0.5562 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.4303, allocations: 4.319 MB / 0.5604 GB, free: 3.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4303, allocations: 0 / 0.5604 GB, free: 3.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4303, allocations: 0 / 0.5604 GB, free: 3.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-05/0.4303, allocations: 4 kB / 0.5605 GB, free: 3.461 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00452/0.4349, allocations: 2.942 MB / 0.5633 GB, free: 468 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4349, allocations: 12.03 kB / 0.5633 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.4399, allocations: 1.574 MB / 0.5649 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.4423, allocations: 1.34 MB / 0.5662 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/0.4424, allocations: 148 kB / 0.5663 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.4427, allocations: 187.8 kB / 0.5665 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.4529, allocations: 6.254 MB / 0.5726 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.453, allocations: 11.88 kB / 0.5726 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.4533, allocations: 87.91 kB / 0.5727 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.4555, allocations: 1.34 MB / 0.574 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.4657, allocations: 5.327 MB / 0.5792 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.4961, allocations: 20.09 MB / 0.5988 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.5003, allocations: 2.002 MB / 0.6008 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.5016, allocations: 0.6991 MB / 0.6015 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006454/0.5081, allocations: 3.617 MB / 0.605 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5081, allocations: 39 kB / 0.605 GB, free: 4.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.496e-06/0.5082, allocations: 0 / 0.605 GB, free: 4.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005295/0.5135, allocations: 1.99 MB / 0.607 GB, free: 2.547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5135, allocations: 63.78 kB / 0.607 GB, free: 2.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/0.5167, allocations: 1.938 MB / 0.6089 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.5168, allocations: 33.7 kB / 0.609 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.5181, allocations: 1.911 MB / 0.6108 GB, free: 14.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.5185, allocations: 337.5 kB / 0.6112 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008184/0.5193, allocations: 0.6195 MB / 0.6118 GB, free: 13.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5194, allocations: 353.9 kB / 0.6121 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.5207, allocations: 0.8842 MB / 0.613 GB, free: 12.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.5232, allocations: 2.759 MB / 0.6157 GB, free: 8.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.5275, allocations: 3.97 MB / 0.6195 GB, free: 3.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/0.5276, allocations: 20 kB / 0.6196 GB, free: 3.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006474/0.5341, allocations: 3.525 MB / 0.623 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.5342, allocations: 38.19 kB / 0.623 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.754e-05/0.5343, allocations: 68.12 kB / 0.6231 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.615e-05/0.5344, allocations: 88 kB / 0.6232 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.5364, allocations: 0.6627 MB / 0.6238 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001752/0.5366, allocations: 127.5 kB / 0.6239 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.5392, allocations: 428.8 kB / 0.6244 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/0.5397, allocations: 184 kB / 0.6245 GB, free: 14.64 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.002733/0.5424, allocations: 1.35 MB / 0.6259 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.5428, allocations: 162.9 kB / 0.626 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.5432, allocations: 192.9 kB / 0.6262 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5432, allocations: 23.81 kB / 0.6262 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.5432, allocations: 0 / 0.6262 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5433, allocations: 3.984 kB / 0.6262 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008136/0.5514, allocations: 4.025 MB / 0.6301 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/0.5515, allocations: 8 kB / 0.6302 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.5519, allocations: 99.83 kB / 0.6303 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.552, allocations: 8 kB / 0.6303 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.552, allocations: 23.98 kB / 0.6303 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.552, allocations: 15.94 kB / 0.6303 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5521, allocations: 8.438 kB / 0.6303 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.5538, allocations: 1.279 MB / 0.6316 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.5544, allocations: 243.8 kB / 0.6318 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.5548, allocations: 27.92 kB / 0.6318 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.5554, allocations: 27.94 kB / 0.6318 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5556, allocations: 55.83 kB / 0.6319 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.5556, allocations: 35.98 kB / 0.6319 GB, free: 6.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002054/0.5577, allocations: 1.263 MB / 0.6332 GB, free: 5.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5577, allocations: 0 / 0.6332 GB, free: 5.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002827/0.5605, allocations: 0.6891 MB / 0.6338 GB, free: 4.84 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.0003252/0.5609, allocations: 146.9 kB / 0.634 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.5639, allocations: 2.046 MB / 0.636 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5639, allocations: 0 / 0.636 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.5645, allocations: 466.3 kB / 0.6364 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.566, allocations: 252.4 kB / 0.6367 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/0.5744, allocations: 5.135 MB / 0.6417 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/0.5774, allocations: 2.275 MB / 0.6439 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002183/0.5796, allocations: 0.9597 MB / 0.6448 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.58, allocations: 115.4 kB / 0.6449 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.214e-06/0.58, allocations: 0 / 0.6449 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.03083/0.6108, allocations: 15 MB / 0.6596 GB, free: 10.35 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches