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.00169/0.00169, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 76.73 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1538, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01199/0.1658, allocations: 9.518 MB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.1721, allocations: 2.928 MB / 492.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.1733, allocations: 47.94 kB / 492.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.1772, allocations: 2.002 MB / 494.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.18, allocations: 1.097 MB / 495.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.1807, allocations: 295.4 kB / 496 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.1839, allocations: 2.317 MB / 498.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.1867, allocations: 2.317 MB / 0.4889 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1879, allocations: 0.88 MB / 0.4898 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.1895, allocations: 1.153 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.1899, allocations: 196 kB / 0.4911 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.1911, allocations: 0.6981 MB / 0.4917 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.1922, allocations: 1.107 MB / 0.4928 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.1935, allocations: 1.308 MB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.1981, allocations: 4.147 MB / 0.4982 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1981, allocations: 7.938 kB / 0.4982 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1981, allocations: 0 / 0.4982 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.901e-05/0.1982, allocations: 0 / 0.4982 GB, free: 7.055 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.00496/0.2032, allocations: 2.861 MB / 0.501 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2032, allocations: 8.031 kB / 0.501 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.2083, allocations: 1.565 MB / 0.5025 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.2106, allocations: 1.316 MB / 0.5038 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2107, allocations: 144 kB / 0.5039 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.2111, allocations: 195.8 kB / 0.5041 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2617/0.4728, allocations: 6.243 MB / 0.5102 GB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.4729, allocations: 13.56 kB / 0.5102 GB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.4731, allocations: 88.08 kB / 0.5103 GB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/0.4754, allocations: 1.339 MB / 0.5116 GB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.4863, allocations: 5.337 MB / 0.5168 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.5117, allocations: 20.16 MB / 0.5365 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.515, allocations: 2.012 MB / 0.5385 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.5157, allocations: 0.703 MB / 0.5392 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00509/0.5208, allocations: 3.598 MB / 0.5427 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5209, allocations: 39 kB / 0.5427 GB, free: 14.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.5209, allocations: 3.938 kB / 0.5427 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004515/0.5254, allocations: 1.981 MB / 0.5446 GB, free: 12.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5255, allocations: 59.84 kB / 0.5447 GB, free: 12.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.5277, allocations: 1.937 MB / 0.5466 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.5277, allocations: 33.7 kB / 0.5466 GB, free: 10.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.5285, allocations: 1.829 MB / 0.5484 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.5286, allocations: 320 kB / 0.5487 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.5292, allocations: 0.6189 MB / 0.5493 GB, free: 8.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.5293, allocations: 357.9 kB / 0.5497 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/0.5302, allocations: 0.8881 MB / 0.5505 GB, free: 6.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.5318, allocations: 2.751 MB / 0.5532 GB, free: 3.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.5353, allocations: 3.965 MB / 0.5571 GB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/0.5354, allocations: 20 kB / 0.5571 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005818/0.5412, allocations: 3.519 MB / 0.5605 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/0.5413, allocations: 36 kB / 0.5606 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-05/0.5414, allocations: 64.88 kB / 0.5606 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.5415, allocations: 92.75 kB / 0.5607 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.5433, allocations: 0.655 MB / 0.5614 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001078/0.5434, allocations: 131.5 kB / 0.5615 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.5457, allocations: 419.5 kB / 0.5619 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.546, allocations: 187.9 kB / 0.5621 GB, free: 9.18 MB / 398.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.002888/0.5489, allocations: 1.346 MB / 0.5634 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.5492, allocations: 157.9 kB / 0.5635 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.5496, allocations: 195.8 kB / 0.5637 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.5496, allocations: 15.94 kB / 0.5637 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5497, allocations: 0 / 0.5637 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.5497, allocations: 0 / 0.5637 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0076/0.5573, allocations: 4.029 MB / 0.5677 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.5573, allocations: 8 kB / 0.5677 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.5579, allocations: 99.83 kB / 0.5678 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.176e-05/0.5579, allocations: 8 kB / 0.5678 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.558, allocations: 23.92 kB / 0.5678 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.558, allocations: 15.94 kB / 0.5678 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.558, allocations: 7.938 kB / 0.5678 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5601, allocations: 1.261 MB / 0.5691 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.5607, allocations: 246.8 kB / 0.5693 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.5608, allocations: 23.98 kB / 0.5693 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.5613, allocations: 23.98 kB / 0.5693 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5614, allocations: 57.12 kB / 0.5694 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.5615, allocations: 32 kB / 0.5694 GB, free: 1.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002114/0.5636, allocations: 1.267 MB / 0.5707 GB, free: 112 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5636, allocations: 0 / 0.5707 GB, free: 112 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002941/0.5666, allocations: 0.6856 MB / 0.5713 GB, free: 15.42 MB / 414.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.0003806/0.567, allocations: 145.5 kB / 0.5715 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.5708, allocations: 2.25 MB / 0.5737 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5708, allocations: 4.062 kB / 0.5737 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.5715, allocations: 469.7 kB / 0.5741 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5728, allocations: 238.9 kB / 0.5744 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/0.5817, allocations: 5.11 MB / 0.5793 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/0.5841, allocations: 2.275 MB / 0.5816 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002352/0.5865, allocations: 0.9614 MB / 0.5825 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.5868, allocations: 119.4 kB / 0.5826 GB, free: 3.738 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5868, allocations: 0 / 0.5826 GB, free: 3.738 MB / 414.1 MB Notification: Performance of Templates: time 0.03491/0.6217, allocations: 14.12 MB / 0.5964 GB, free: 5.66 MB / 430.1 MB 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