Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 75.88 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 62.44 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0315/0.1533, allocations: 30.31 MB / 0.4977 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.1699, allocations: 6.321 MB / 0.5038 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006813/0.1767, allocations: 123.7 kB / 0.5039 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2828/0.4596, allocations: 1.995 MB / 0.5059 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.4629, allocations: 1.037 MB / 0.5069 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.4639, allocations: 275.7 kB / 0.5072 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005711/0.4696, allocations: 3.361 MB / 0.5105 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003622/0.4733, allocations: 2.294 MB / 0.5127 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.475, allocations: 0.7845 MB / 0.5135 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.4774, allocations: 1.214 MB / 0.5146 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006199/0.478, allocations: 151.4 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.48, allocations: 0.6924 MB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.4815, allocations: 1.076 MB / 0.5165 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.4829, allocations: 1.271 MB / 0.5178 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.4882, allocations: 4.121 MB / 0.5218 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4882, allocations: 0 / 0.5218 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4883, allocations: 0 / 0.5218 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001199/0.4884, allocations: 3.938 kB / 0.5218 GB, free: 8.836 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006532/0.4949, allocations: 2.862 MB / 0.5246 GB, free: 6.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.495, allocations: 9.344 kB / 0.5246 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.4999, allocations: 1.55 MB / 0.5261 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.5026, allocations: 1.328 MB / 0.5274 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.525e-05/0.5028, allocations: 144.7 kB / 0.5275 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.5031, allocations: 186 kB / 0.5277 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.5138, allocations: 6.243 MB / 0.5338 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.5139, allocations: 13.84 kB / 0.5338 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.5142, allocations: 88.7 kB / 0.5339 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001856/0.5161, allocations: 1.343 MB / 0.5352 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.5262, allocations: 5.344 MB / 0.5404 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03603/0.5623, allocations: 20.16 MB / 0.5601 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.5669, allocations: 2.003 MB / 0.5621 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.5681, allocations: 0.699 MB / 0.5628 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007343/0.5754, allocations: 3.619 MB / 0.5663 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5755, allocations: 39 kB / 0.5663 GB, free: 2.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/0.5755, allocations: 0 / 0.5663 GB, free: 2.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005702/0.5812, allocations: 1.986 MB / 0.5683 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5813, allocations: 59.84 kB / 0.5683 GB, free: 492 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.5858, allocations: 1.934 MB / 0.5702 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.586, allocations: 33.7 kB / 0.5703 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5879, allocations: 1.839 MB / 0.5721 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.5883, allocations: 315.3 kB / 0.5724 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.5895, allocations: 0.614 MB / 0.573 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5897, allocations: 355.8 kB / 0.5733 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.5912, allocations: 0.888 MB / 0.5742 GB, free: 10.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.5944, allocations: 2.76 MB / 0.5769 GB, free: 6.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.5994, allocations: 3.965 MB / 0.5807 GB, free: 2.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-05/0.5995, allocations: 16 kB / 0.5807 GB, free: 2.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00715/0.6067, allocations: 3.523 MB / 0.5842 GB, free: 15.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.6068, allocations: 32 kB / 0.5842 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.6069, allocations: 71.09 kB / 0.5843 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.6071, allocations: 84 kB / 0.5844 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.6093, allocations: 0.6515 MB / 0.585 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.6094, allocations: 133.6 kB / 0.5851 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.6117, allocations: 419.9 kB / 0.5855 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/0.6121, allocations: 193.7 kB / 0.5857 GB, free: 13.59 MB / 446.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.003211/0.6154, allocations: 1.341 MB / 0.587 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.6158, allocations: 153.9 kB / 0.5872 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.6164, allocations: 196.9 kB / 0.5874 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.6164, allocations: 14.89 kB / 0.5874 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.6164, allocations: 3.938 kB / 0.5874 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6165, allocations: 0 / 0.5874 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/0.626, allocations: 4.025 MB / 0.5913 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.626, allocations: 4 kB / 0.5913 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.6265, allocations: 111.9 kB / 0.5914 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.6265, allocations: 8 kB / 0.5914 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.6265, allocations: 19.98 kB / 0.5914 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/0.6266, allocations: 11.94 kB / 0.5915 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.6266, allocations: 19.88 kB / 0.5915 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6284, allocations: 1.26 MB / 0.5927 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.6289, allocations: 250.7 kB / 0.5929 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.6293, allocations: 23.03 kB / 0.593 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.63, allocations: 35.89 kB / 0.593 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6301, allocations: 55.75 kB / 0.593 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.6302, allocations: 28 kB / 0.5931 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002371/0.6326, allocations: 1.275 MB / 0.5943 GB, free: 4.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6326, allocations: 0 / 0.5943 GB, free: 4.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00312/0.6357, allocations: 0.6727 MB / 0.595 GB, free: 3.898 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.0003896/0.6361, allocations: 145.5 kB / 0.5951 GB, free: 3.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.6395, allocations: 2.021 MB / 0.5971 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6395, allocations: 1 kB / 0.5971 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.6401, allocations: 468 kB / 0.5975 GB, free: 1.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6417, allocations: 234.5 kB / 0.5978 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.654, allocations: 6.385 MB / 0.604 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004358/0.6585, allocations: 2.271 MB / 0.6062 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002815/0.6613, allocations: 0.9559 MB / 0.6071 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.6618, allocations: 123.4 kB / 0.6073 GB, free: 7.176 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6618, allocations: 0 / 0.6073 GB, free: 7.176 MB / 462.1 MB Notification: Performance of Templates: time 0.03144/0.6933, allocations: 13.64 MB / 0.6206 GB, free: 9.613 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches