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.001058/0.001058, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 63.57 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03081/0.1747, allocations: 29.38 MB / 0.5005 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.1919, allocations: 6.275 MB / 0.5066 GB, free: 356 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006484/0.1985, allocations: 127.8 kB / 0.5067 GB, free: 228 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2773/0.4758, allocations: 282.2 kB / 0.507 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.4794, allocations: 1.042 MB / 0.508 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.4802, allocations: 267.4 kB / 0.5083 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.4849, allocations: 3.364 MB / 0.5115 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005323/0.4902, allocations: 3.337 MB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.4917, allocations: 0.6293 MB / 0.5154 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.4934, allocations: 1.029 MB / 0.5164 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.4937, allocations: 83.59 kB / 0.5165 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.4951, allocations: 0.6315 MB / 0.5171 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.4964, allocations: 0.9886 MB / 0.5181 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.4976, allocations: 1.181 MB / 0.5192 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.5022, allocations: 4.004 MB / 0.5231 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5023, allocations: 0 / 0.5231 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5023, allocations: 1.281 kB / 0.5231 GB, free: 8.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.5024, allocations: 0 / 0.5231 GB, free: 8.312 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.004994/0.5074, allocations: 2.345 MB / 0.5254 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5075, allocations: 12.28 kB / 0.5254 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.513, allocations: 1.601 MB / 0.527 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/0.5169, allocations: 1.318 MB / 0.5283 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.517, allocations: 147 kB / 0.5284 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.5174, allocations: 190 kB / 0.5286 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009999/0.5274, allocations: 6.245 MB / 0.5347 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.5275, allocations: 13.31 kB / 0.5347 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.5277, allocations: 95.78 kB / 0.5348 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/0.5295, allocations: 1.34 MB / 0.5361 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009309/0.5388, allocations: 5.333 MB / 0.5413 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.5669, allocations: 20.18 MB / 0.561 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.5712, allocations: 2.005 MB / 0.563 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.5723, allocations: 0.6983 MB / 0.5637 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006643/0.579, allocations: 3.604 MB / 0.5672 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.579, allocations: 44.12 kB / 0.5672 GB, free: 3.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.069e-06/0.579, allocations: 0 / 0.5672 GB, free: 3.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005453/0.5845, allocations: 1.974 MB / 0.5692 GB, free: 1.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5846, allocations: 63.78 kB / 0.5692 GB, free: 1.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.5875, allocations: 1.941 MB / 0.5711 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.5876, allocations: 37.7 kB / 0.5712 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.5888, allocations: 1.83 MB / 0.573 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.5891, allocations: 322 kB / 0.5733 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.5894, allocations: 272.1 kB / 0.5735 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5896, allocations: 357.9 kB / 0.5739 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5909, allocations: 0.8842 MB / 0.5747 GB, free: 12.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.5935, allocations: 2.753 MB / 0.5774 GB, free: 8.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.5978, allocations: 3.965 MB / 0.5813 GB, free: 3.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/0.5978, allocations: 16 kB / 0.5813 GB, free: 3.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005355/0.6032, allocations: 3.533 MB / 0.5848 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.6032, allocations: 32 kB / 0.5848 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-05/0.6033, allocations: 68 kB / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.951e-05/0.6034, allocations: 84 kB / 0.5849 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.6052, allocations: 0.6506 MB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.6053, allocations: 136.9 kB / 0.5857 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.6072, allocations: 419.6 kB / 0.5861 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.6074, allocations: 191.2 kB / 0.5863 GB, free: 15.09 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.002265/0.6097, allocations: 1.346 MB / 0.5876 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.6099, allocations: 153.9 kB / 0.5877 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.6103, allocations: 192.9 kB / 0.5879 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.6103, allocations: 8 kB / 0.5879 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6104, allocations: 3.938 kB / 0.5879 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6104, allocations: 7.984 kB / 0.5879 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.6163, allocations: 4.025 MB / 0.5919 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.6163, allocations: 11.94 kB / 0.5919 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.6167, allocations: 108.7 kB / 0.592 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.6168, allocations: 11.94 kB / 0.592 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.6168, allocations: 23.94 kB / 0.592 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.6168, allocations: 11.98 kB / 0.592 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.6168, allocations: 11.94 kB / 0.592 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.6183, allocations: 1.255 MB / 0.5933 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.6187, allocations: 262.6 kB / 0.5935 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6188, allocations: 16 kB / 0.5935 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.6193, allocations: 34.08 kB / 0.5936 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6194, allocations: 55.81 kB / 0.5936 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.6195, allocations: 28 kB / 0.5936 GB, free: 7.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001726/0.6212, allocations: 1.271 MB / 0.5949 GB, free: 6.004 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6212, allocations: 0 / 0.5949 GB, free: 6.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002529/0.6237, allocations: 0.6794 MB / 0.5956 GB, free: 5.324 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.0002984/0.624, allocations: 143 kB / 0.5957 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.6269, allocations: 2.033 MB / 0.5977 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6269, allocations: 0 / 0.5977 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.6275, allocations: 461 kB / 0.5981 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.63, allocations: 226.4 kB / 0.5983 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009079/0.6391, allocations: 6.421 MB / 0.6046 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.6415, allocations: 2.267 MB / 0.6068 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002316/0.6439, allocations: 0.9558 MB / 0.6077 GB, free: 8.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.6442, allocations: 123.4 kB / 0.6079 GB, free: 8.574 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6442, allocations: 0 / 0.6079 GB, free: 8.574 MB / 462.1 MB Notification: Performance of Templates: time 0.03258/0.6767, allocations: 13.55 MB / 0.6211 GB, free: 11.11 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