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.001232/0.001232, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001828, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 80.7 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 62.45 MB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01134/0.1387, allocations: 9.51 MB / 489.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.1458, allocations: 2.928 MB / 492.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.1477, allocations: 51.88 kB / 492.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.1518, allocations: 1.998 MB / 494.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.1551, allocations: 1.109 MB / 495.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.156, allocations: 291.4 kB / 496 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.1594, allocations: 2.318 MB / 498.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.1627, allocations: 2.317 MB / 0.4889 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.1643, allocations: 0.8762 MB / 0.4897 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.1662, allocations: 1.156 MB / 0.4908 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006189/0.1668, allocations: 192 kB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.1684, allocations: 0.6943 MB / 0.4917 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.1699, allocations: 1.11 MB / 0.4928 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.1721, allocations: 1.301 MB / 0.4941 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.1781, allocations: 4.159 MB / 0.4981 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.1781, allocations: 0 / 0.4981 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1781, allocations: 7.938 kB / 0.4981 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001703/0.1783, allocations: 4 kB / 0.4981 GB, free: 7.086 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.007398/0.1857, allocations: 2.853 MB / 0.5009 GB, free: 4.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1858, allocations: 12.03 kB / 0.5009 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.1911, allocations: 1.557 MB / 0.5025 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.1938, allocations: 1.324 MB / 0.5037 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1939, allocations: 144 kB / 0.5039 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.1943, allocations: 195.8 kB / 0.5041 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2288/0.4231, allocations: 6.241 MB / 0.5102 GB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.4232, allocations: 17.28 kB / 0.5102 GB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.4235, allocations: 87.14 kB / 0.5103 GB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/0.4264, allocations: 1.34 MB / 0.5116 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4391, allocations: 5.332 MB / 0.5168 GB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02631/0.4655, allocations: 20.16 MB / 0.5365 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.469, allocations: 2.013 MB / 0.5384 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.4698, allocations: 0.703 MB / 0.5391 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/0.4749, allocations: 3.611 MB / 0.5426 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.475, allocations: 35 kB / 0.5427 GB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.475, allocations: 0 / 0.5427 GB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004681/0.4797, allocations: 1.981 MB / 0.5446 GB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.4797, allocations: 63.84 kB / 0.5447 GB, free: 13.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.4816, allocations: 1.937 MB / 0.5466 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.4816, allocations: 33.64 kB / 0.5466 GB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.4822, allocations: 1.836 MB / 0.5484 GB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.4824, allocations: 312 kB / 0.5487 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/0.483, allocations: 0.6151 MB / 0.5493 GB, free: 8.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.483, allocations: 357.9 kB / 0.5496 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.484, allocations: 0.8881 MB / 0.5505 GB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4855, allocations: 2.758 MB / 0.5532 GB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.4886, allocations: 3.967 MB / 0.5571 GB, free: 14.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.4886, allocations: 20 kB / 0.5571 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005024/0.4936, allocations: 3.515 MB / 0.5605 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.4937, allocations: 36 kB / 0.5605 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-05/0.4938, allocations: 64 kB / 0.5606 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.133e-05/0.4939, allocations: 91.94 kB / 0.5607 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.4956, allocations: 0.655 MB / 0.5613 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.075e-05/0.4957, allocations: 129.4 kB / 0.5615 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4974, allocations: 423.2 kB / 0.5619 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.4976, allocations: 188 kB / 0.562 GB, free: 9.293 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.001698/0.4993, allocations: 1.346 MB / 0.5634 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.4995, allocations: 153.9 kB / 0.5635 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.4999, allocations: 192.9 kB / 0.5637 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.4999, allocations: 19.92 kB / 0.5637 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4999, allocations: 0 / 0.5637 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4999, allocations: 1.875 kB / 0.5637 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005604/0.5055, allocations: 4.029 MB / 0.5676 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.5056, allocations: 12.03 kB / 0.5677 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.5059, allocations: 99.83 kB / 0.5677 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.506, allocations: 11.98 kB / 0.5678 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.506, allocations: 19.98 kB / 0.5678 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.506, allocations: 12 kB / 0.5678 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.506, allocations: 7.938 kB / 0.5678 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5074, allocations: 1.264 MB / 0.569 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.5078, allocations: 242.8 kB / 0.5693 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.508, allocations: 23.98 kB / 0.5693 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.5084, allocations: 23.98 kB / 0.5693 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.5085, allocations: 51.83 kB / 0.5694 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.5086, allocations: 35.98 kB / 0.5694 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.5102, allocations: 1.267 MB / 0.5706 GB, free: 228 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5102, allocations: 0 / 0.5706 GB, free: 228 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002574/0.5128, allocations: 0.6856 MB / 0.5713 GB, free: 15.54 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.0003892/0.5132, allocations: 145.6 kB / 0.5714 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.5166, allocations: 2.26 MB / 0.5736 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5166, allocations: 4.312 kB / 0.5736 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.5173, allocations: 468.1 kB / 0.5741 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5185, allocations: 238 kB / 0.5743 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/0.5281, allocations: 5.11 MB / 0.5793 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.5305, allocations: 2.275 MB / 0.5815 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002305/0.5329, allocations: 0.9636 MB / 0.5825 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.5332, allocations: 119.4 kB / 0.5826 GB, free: 3.848 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5332, allocations: 0 / 0.5826 GB, free: 3.848 MB / 414.1 MB Notification: Performance of Templates: time 0.0284/0.5616, allocations: 14.1 MB / 0.5964 GB, free: 5.789 MB / 430.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