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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000978/0.000978, allocations: 97.3 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3508/0.3508, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 62.01 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02715/0.3629, allocations: 37.71 MB / 0.552 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.3814, allocations: 7.641 MB / 0.5594 GB, free: 5.746 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009245/0.3907, allocations: 154.1 kB / 0.5596 GB, free: 5.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.395, allocations: 2.006 MB / 0.5615 GB, free: 4.793 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.3985, allocations: 1.071 MB / 0.5626 GB, free: 4.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.3994, allocations: 265 kB / 0.5628 GB, free: 4.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005251/0.4047, allocations: 3.481 MB / 0.5662 GB, free: 3.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004132/0.4088, allocations: 2.312 MB / 0.5685 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.4109, allocations: 0.8055 MB / 0.5693 GB, free: 1.586 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.4131, allocations: 1.24 MB / 0.5705 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006742/0.4138, allocations: 156 kB / 0.5706 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.4155, allocations: 0.6981 MB / 0.5713 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.4171, allocations: 1.102 MB / 0.5724 GB, free: 14.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.4186, allocations: 1.312 MB / 0.5737 GB, free: 13.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.4229, allocations: 4.248 MB / 0.5778 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4229, allocations: 0 / 0.5778 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4229, allocations: 3.938 kB / 0.5778 GB, free: 9.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.423, allocations: 0 / 0.5778 GB, free: 9.176 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004801/0.4278, allocations: 2.935 MB / 0.5807 GB, free: 6.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.4279, allocations: 12.03 kB / 0.5807 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/0.4327, allocations: 1.592 MB / 0.5823 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.4353, allocations: 1.344 MB / 0.5836 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.4354, allocations: 144.1 kB / 0.5837 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.4357, allocations: 195.8 kB / 0.5839 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009086/0.4448, allocations: 6.436 MB / 0.5902 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.4449, allocations: 11.88 kB / 0.5902 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.4451, allocations: 87.91 kB / 0.5903 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.4474, allocations: 1.411 MB / 0.5917 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009308/0.4567, allocations: 5.492 MB / 0.597 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/0.4825, allocations: 20.59 MB / 0.6171 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.4865, allocations: 2.005 MB / 0.6191 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008917/0.4874, allocations: 0.6953 MB / 0.6198 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006422/0.4938, allocations: 3.643 MB / 0.6233 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4939, allocations: 39 kB / 0.6234 GB, free: 9.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/0.4939, allocations: 3.938 kB / 0.6234 GB, free: 9.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004906/0.4988, allocations: 1.985 MB / 0.6253 GB, free: 7.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4989, allocations: 59.84 kB / 0.6254 GB, free: 7.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.5029, allocations: 1.962 MB / 0.6273 GB, free: 5.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.503, allocations: 29.7 kB / 0.6273 GB, free: 5.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.5044, allocations: 1.887 MB / 0.6292 GB, free: 3.305 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.5048, allocations: 320 kB / 0.6295 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008761/0.5056, allocations: 0.6191 MB / 0.6301 GB, free: 2.359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5058, allocations: 357.9 kB / 0.6304 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.507, allocations: 0.8881 MB / 0.6313 GB, free: 1.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.5095, allocations: 2.781 MB / 0.634 GB, free: 13.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.5137, allocations: 3.99 MB / 0.6379 GB, free: 8.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-05/0.5138, allocations: 20 kB / 0.6379 GB, free: 8.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005467/0.5193, allocations: 3.559 MB / 0.6414 GB, free: 4.875 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.5193, allocations: 34.81 kB / 0.6414 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/0.5194, allocations: 68.88 kB / 0.6415 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-05/0.5195, allocations: 88 kB / 0.6416 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.5213, allocations: 0.6667 MB / 0.6422 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/0.5214, allocations: 127.5 kB / 0.6423 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.5233, allocations: 419.5 kB / 0.6427 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.5236, allocations: 195.9 kB / 0.6429 GB, free: 3.293 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001945/0.5255, allocations: 1.366 MB / 0.6443 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.5258, allocations: 157.9 kB / 0.6444 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.5262, allocations: 201.2 kB / 0.6446 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5262, allocations: 8 kB / 0.6446 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5263, allocations: 0 / 0.6446 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5263, allocations: 7.922 kB / 0.6446 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.5326, allocations: 4.097 MB / 0.6486 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5327, allocations: 4 kB / 0.6486 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.533, allocations: 107.8 kB / 0.6487 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.5331, allocations: 8 kB / 0.6487 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.5331, allocations: 20 kB / 0.6487 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.5331, allocations: 15.92 kB / 0.6488 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.5331, allocations: 15.94 kB / 0.6488 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.5355, allocations: 2.574 MB / 0.6513 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.5359, allocations: 254.7 kB / 0.6515 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.536, allocations: 23.94 kB / 0.6516 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.5365, allocations: 27.88 kB / 0.6516 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.5366, allocations: 63.75 kB / 0.6516 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.5366, allocations: 28 kB / 0.6517 GB, free: 10 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.5381, allocations: 1.287 MB / 0.6529 GB, free: 8.723 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5381, allocations: 0 / 0.6529 GB, free: 8.723 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002368/0.5405, allocations: 0.7076 MB / 0.6536 GB, free: 8.012 MB / 474.7 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.0002802/0.5408, allocations: 151 kB / 0.6538 GB, free: 7.855 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.5435, allocations: 2.03 MB / 0.6557 GB, free: 5.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5435, allocations: 0 / 0.6557 GB, free: 5.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.5441, allocations: 462.6 kB / 0.6562 GB, free: 5.391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.5452, allocations: 237.2 kB / 0.6564 GB, free: 5.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.5538, allocations: 7.067 MB / 0.6633 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.5559, allocations: 2.351 MB / 0.6656 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00218/0.5581, allocations: 0.9601 MB / 0.6665 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.5584, allocations: 119.4 kB / 0.6667 GB, free: 10.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5584, allocations: 3.938 kB / 0.6667 GB, free: 10.5 MB / 490.7 MB Notification: Performance of Templates: time 0.2556/0.814, allocations: 14.36 MB / 0.6807 GB, free: 128.2 MB / 490.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches