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.001152/0.001157, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 81.56 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.12, allocations: 62.43 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02839/0.1484, allocations: 30.33 MB / 0.4979 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.162, allocations: 6.271 MB / 0.504 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.168, allocations: 119.8 kB / 0.5041 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2252/0.3932, allocations: 1.922 MB / 0.506 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.3961, allocations: 1.035 MB / 0.507 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.3968, allocations: 275.3 kB / 0.5072 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.4001, allocations: 2.346 MB / 0.5095 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.403, allocations: 2.423 MB / 0.5119 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.4045, allocations: 0.8826 MB / 0.5128 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.4063, allocations: 1.264 MB / 0.514 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.4067, allocations: 201.7 kB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.4085, allocations: 0.7038 MB / 0.5149 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.4102, allocations: 1.119 MB / 0.516 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4116, allocations: 1.318 MB / 0.5173 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005624/0.4173, allocations: 4.177 MB / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4173, allocations: 1.281 kB / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4173, allocations: 0.75 kB / 0.5213 GB, free: 8.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.4174, allocations: 3.938 kB / 0.5213 GB, free: 8.746 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.006987/0.4244, allocations: 2.863 MB / 0.5241 GB, free: 7.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.4245, allocations: 11.69 kB / 0.5242 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.4296, allocations: 1.557 MB / 0.5257 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.4317, allocations: 1.317 MB / 0.527 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.4319, allocations: 145.4 kB / 0.5271 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.4322, allocations: 186.3 kB / 0.5273 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008694/0.4409, allocations: 6.248 MB / 0.5334 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.441, allocations: 13.59 kB / 0.5334 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.4412, allocations: 89.34 kB / 0.5335 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/0.443, allocations: 1.341 MB / 0.5348 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008292/0.4513, allocations: 5.344 MB / 0.54 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.4751, allocations: 20.17 MB / 0.5597 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.4791, allocations: 2.01 MB / 0.5617 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008941/0.48, allocations: 0.6974 MB / 0.5623 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.4863, allocations: 3.613 MB / 0.5659 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4863, allocations: 35 kB / 0.5659 GB, free: 3.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.4864, allocations: 4 kB / 0.5659 GB, free: 3.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005238/0.4916, allocations: 1.984 MB / 0.5678 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.4917, allocations: 55.84 kB / 0.5679 GB, free: 1.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.4946, allocations: 1.933 MB / 0.5698 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.4947, allocations: 33.7 kB / 0.5698 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.4959, allocations: 1.839 MB / 0.5716 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.4961, allocations: 309.6 kB / 0.5719 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.4969, allocations: 0.6178 MB / 0.5725 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4971, allocations: 359.8 kB / 0.5729 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4983, allocations: 0.888 MB / 0.5737 GB, free: 11.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.5007, allocations: 2.757 MB / 0.5764 GB, free: 7.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.5049, allocations: 3.969 MB / 0.5803 GB, free: 2.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-05/0.5049, allocations: 20 kB / 0.5803 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005454/0.5104, allocations: 3.516 MB / 0.5837 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.5105, allocations: 32 kB / 0.5838 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.971e-05/0.5106, allocations: 68 kB / 0.5838 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.153e-05/0.5107, allocations: 84.72 kB / 0.5839 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.5125, allocations: 0.6658 MB / 0.5846 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.884e-05/0.5126, allocations: 131.6 kB / 0.5847 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.5144, allocations: 415.5 kB / 0.5851 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.5147, allocations: 199 kB / 0.5853 GB, free: 14.13 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.002993/0.5177, allocations: 1.342 MB / 0.5866 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.518, allocations: 157.9 kB / 0.5867 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.5185, allocations: 196.9 kB / 0.5869 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.5185, allocations: 8 kB / 0.5869 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5186, allocations: 3.938 kB / 0.5869 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5186, allocations: 4 kB / 0.5869 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00854/0.5271, allocations: 4.028 MB / 0.5909 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5272, allocations: 8 kB / 0.5909 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.5278, allocations: 99.77 kB / 0.591 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/0.5278, allocations: 8 kB / 0.591 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.5279, allocations: 23.98 kB / 0.591 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.5279, allocations: 8 kB / 0.591 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/0.5279, allocations: 15.88 kB / 0.591 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.5301, allocations: 1.261 MB / 0.5923 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/0.5307, allocations: 254.7 kB / 0.5925 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.531, allocations: 23.98 kB / 0.5925 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.5317, allocations: 23.89 kB / 0.5926 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.5319, allocations: 59.81 kB / 0.5926 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.532, allocations: 28 kB / 0.5926 GB, free: 6.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002538/0.5345, allocations: 1.267 MB / 0.5939 GB, free: 5.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5345, allocations: 0 / 0.5939 GB, free: 5.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003948/0.5385, allocations: 0.6751 MB / 0.5945 GB, free: 4.449 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.0004076/0.5389, allocations: 149.7 kB / 0.5947 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.5427, allocations: 2.242 MB / 0.5969 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5428, allocations: 8.062 kB / 0.5969 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5433, allocations: 457.4 kB / 0.5973 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.545, allocations: 246.8 kB / 0.5975 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/0.555, allocations: 6.388 MB / 0.6038 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.5573, allocations: 2.275 MB / 0.606 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002252/0.5596, allocations: 0.9636 MB / 0.6069 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5599, allocations: 119.4 kB / 0.6071 GB, free: 7.484 MB / 462.1 MB Notification: Performance of SimCode: time 1.113e-06/0.5599, allocations: 0 / 0.6071 GB, free: 7.484 MB / 462.1 MB Notification: Performance of Templates: time 0.02929/0.5892, allocations: 14.1 MB / 0.6208 GB, free: 9.48 MB / 478.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