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.001462/0.001462, allocations: 117.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 76.23 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1251, allocations: 62.45 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03034/0.1555, allocations: 30.31 MB / 0.4979 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.1717, allocations: 6.271 MB / 0.504 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005693/0.1774, allocations: 127.7 kB / 0.5041 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2793/0.4567, allocations: 1.917 MB / 0.506 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.4613, allocations: 1.032 MB / 0.507 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.4624, allocations: 274 kB / 0.5072 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00476/0.4672, allocations: 2.345 MB / 0.5095 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.471, allocations: 2.423 MB / 0.5119 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.473, allocations: 0.8885 MB / 0.5128 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.4751, allocations: 1.266 MB / 0.514 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004687/0.4756, allocations: 193.4 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.4773, allocations: 0.7081 MB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.4787, allocations: 1.117 MB / 0.516 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.4802, allocations: 1.321 MB / 0.5173 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.4858, allocations: 4.179 MB / 0.5213 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4858, allocations: 4 kB / 0.5213 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4858, allocations: 0 / 0.5213 GB, free: 9.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001102/0.4859, allocations: 0 / 0.5213 GB, free: 9.027 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.006251/0.4922, allocations: 2.865 MB / 0.5241 GB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4923, allocations: 12.5 kB / 0.5241 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.4973, allocations: 1.563 MB / 0.5257 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.5007, allocations: 1.315 MB / 0.527 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.5008, allocations: 145.2 kB / 0.5271 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.5012, allocations: 187.2 kB / 0.5273 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.5122, allocations: 6.251 MB / 0.5334 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.5123, allocations: 11.91 kB / 0.5334 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.5126, allocations: 90.09 kB / 0.5335 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.5144, allocations: 1.342 MB / 0.5348 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.5245, allocations: 5.331 MB / 0.54 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.554, allocations: 20.17 MB / 0.5597 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.5584, allocations: 2.004 MB / 0.5616 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.5596, allocations: 0.6901 MB / 0.5623 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/0.5667, allocations: 3.615 MB / 0.5659 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5668, allocations: 39 kB / 0.5659 GB, free: 3.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.537e-06/0.5668, allocations: 0 / 0.5659 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005423/0.5723, allocations: 1.984 MB / 0.5678 GB, free: 1.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.5723, allocations: 59.84 kB / 0.5679 GB, free: 1.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.5752, allocations: 1.929 MB / 0.5698 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.5753, allocations: 37.14 kB / 0.5698 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.5765, allocations: 1.843 MB / 0.5716 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.5769, allocations: 310.9 kB / 0.5719 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007903/0.5777, allocations: 0.6179 MB / 0.5725 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5779, allocations: 355.8 kB / 0.5728 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.5791, allocations: 0.8881 MB / 0.5737 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.5819, allocations: 2.752 MB / 0.5764 GB, free: 7.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/0.5867, allocations: 3.975 MB / 0.5803 GB, free: 2.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.527e-05/0.5867, allocations: 20.66 kB / 0.5803 GB, free: 2.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005753/0.5925, allocations: 3.518 MB / 0.5837 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.5926, allocations: 41.5 kB / 0.5838 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.376e-05/0.5926, allocations: 64 kB / 0.5838 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.704e-05/0.5927, allocations: 88 kB / 0.5839 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.5946, allocations: 0.6563 MB / 0.5846 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.595e-05/0.5947, allocations: 130.4 kB / 0.5847 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.5966, allocations: 415.6 kB / 0.5851 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.5968, allocations: 192.6 kB / 0.5853 GB, free: 14.3 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.002295/0.5991, allocations: 1.347 MB / 0.5866 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.5994, allocations: 153.9 kB / 0.5867 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.5998, allocations: 192.9 kB / 0.5869 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.5998, allocations: 14.03 kB / 0.5869 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5998, allocations: 3.938 kB / 0.5869 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5998, allocations: 0 / 0.5869 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006658/0.6065, allocations: 4.026 MB / 0.5909 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6065, allocations: 8 kB / 0.5909 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.6069, allocations: 107.8 kB / 0.591 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.6069, allocations: 12.81 kB / 0.591 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.607, allocations: 12 kB / 0.591 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.607, allocations: 19.94 kB / 0.591 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.607, allocations: 11.94 kB / 0.591 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6085, allocations: 1.262 MB / 0.5923 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/0.6089, allocations: 250.7 kB / 0.5925 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.6091, allocations: 20 kB / 0.5925 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.6096, allocations: 34.55 kB / 0.5925 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6097, allocations: 55.75 kB / 0.5926 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.6098, allocations: 32 kB / 0.5926 GB, free: 6.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.6115, allocations: 1.267 MB / 0.5939 GB, free: 5.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6115, allocations: 0 / 0.5939 GB, free: 5.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002667/0.6142, allocations: 0.6766 MB / 0.5945 GB, free: 4.609 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.0003553/0.6146, allocations: 149.6 kB / 0.5947 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.6181, allocations: 2.243 MB / 0.5969 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6181, allocations: 1.938 kB / 0.5969 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.6187, allocations: 465 kB / 0.5973 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.62, allocations: 233.7 kB / 0.5975 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/0.6295, allocations: 6.392 MB / 0.6038 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.6319, allocations: 2.279 MB / 0.606 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002286/0.6342, allocations: 0.952 MB / 0.6069 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.6345, allocations: 123.4 kB / 0.607 GB, free: 7.656 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6345, allocations: 0 / 0.607 GB, free: 7.656 MB / 462.1 MB Notification: Performance of Templates: time 0.03137/0.6658, allocations: 14.1 MB / 0.6208 GB, free: 9.652 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