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/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.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/Complex trunk/package.mo): time 0.001965/0.001965, 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.407/1.407, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 108.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3762/0.3762, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3424, allocations: 62.01 MB / 0.5151 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0271/0.3695, allocations: 37.72 MB / 0.552 GB, free: 10.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.3885, allocations: 7.628 MB / 0.5594 GB, free: 5.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009849/0.3984, allocations: 154.4 kB / 0.5596 GB, free: 5.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.4037, allocations: 2.014 MB / 0.5615 GB, free: 4.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.4072, allocations: 1.071 MB / 0.5626 GB, free: 4.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.408, allocations: 264.9 kB / 0.5628 GB, free: 4.121 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.4125, allocations: 3.48 MB / 0.5662 GB, free: 3.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002745/0.4153, allocations: 2.306 MB / 0.5685 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.4167, allocations: 0.798 MB / 0.5693 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.4186, allocations: 1.249 MB / 0.5705 GB, free: 0.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.4189, allocations: 148 kB / 0.5706 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.4201, allocations: 0.6943 MB / 0.5713 GB, free: 15.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009064/0.421, allocations: 1.11 MB / 0.5724 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.4222, allocations: 1.32 MB / 0.5737 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.426, allocations: 4.248 MB / 0.5778 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4261, allocations: 0 / 0.5778 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4261, allocations: 0 / 0.5778 GB, free: 9.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.545e-05/0.4262, allocations: 0 / 0.5778 GB, free: 9.207 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.0049/0.4311, allocations: 2.943 MB / 0.5807 GB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4311, allocations: 16.03 kB / 0.5807 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.4362, allocations: 1.584 MB / 0.5823 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.4395, allocations: 1.332 MB / 0.5836 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.4396, allocations: 160 kB / 0.5837 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.44, allocations: 187.8 kB / 0.5839 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009581/0.4496, allocations: 6.44 MB / 0.5902 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.4497, allocations: 11.88 kB / 0.5902 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.4499, allocations: 95.88 kB / 0.5903 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.4519, allocations: 1.403 MB / 0.5917 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.4625, allocations: 5.484 MB / 0.597 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.494, allocations: 20.59 MB / 0.6171 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.4983, allocations: 2.013 MB / 0.6191 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4993, allocations: 0.6914 MB / 0.6198 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007209/0.5066, allocations: 3.639 MB / 0.6233 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5066, allocations: 46.92 kB / 0.6234 GB, free: 9.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.42e-06/0.5067, allocations: 3.984 kB / 0.6234 GB, free: 9.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.005052/0.5117, allocations: 1.981 MB / 0.6253 GB, free: 7.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5118, allocations: 59.84 kB / 0.6254 GB, free: 7.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.5149, allocations: 1.966 MB / 0.6273 GB, free: 5.285 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.515, allocations: 33.7 kB / 0.6273 GB, free: 5.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.5163, allocations: 1.875 MB / 0.6291 GB, free: 3.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.5166, allocations: 316 kB / 0.6295 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008861/0.5175, allocations: 0.623 MB / 0.6301 GB, free: 2.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5177, allocations: 357.9 kB / 0.6304 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.519, allocations: 0.8959 MB / 0.6313 GB, free: 1.141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.5213, allocations: 2.77 MB / 0.634 GB, free: 13.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/0.5252, allocations: 4.004 MB / 0.6379 GB, free: 8.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.071e-05/0.5252, allocations: 20 kB / 0.6379 GB, free: 8.461 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005455/0.5307, allocations: 3.544 MB / 0.6414 GB, free: 4.914 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.5308, allocations: 36 kB / 0.6414 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.5309, allocations: 67.98 kB / 0.6415 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.531, allocations: 88 kB / 0.6416 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.533, allocations: 0.6628 MB / 0.6422 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001248/0.5331, allocations: 131.5 kB / 0.6423 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.5353, allocations: 427.9 kB / 0.6427 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.5356, allocations: 195.9 kB / 0.6429 GB, free: 3.32 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.002124/0.5377, allocations: 1.362 MB / 0.6443 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.538, allocations: 161.9 kB / 0.6444 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.5384, allocations: 197.2 kB / 0.6446 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.5384, allocations: 15.98 kB / 0.6446 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5384, allocations: 0 / 0.6446 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5385, allocations: 3.938 kB / 0.6446 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.5456, allocations: 4.093 MB / 0.6486 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5456, allocations: 11.94 kB / 0.6486 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.546, allocations: 107.9 kB / 0.6487 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.5461, allocations: 12 kB / 0.6487 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.5461, allocations: 20 kB / 0.6488 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.5461, allocations: 11.94 kB / 0.6488 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.5461, allocations: 11.94 kB / 0.6488 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5487, allocations: 2.573 MB / 0.6513 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.5491, allocations: 254.7 kB / 0.6515 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.5494, allocations: 31.92 kB / 0.6516 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.55, allocations: 27.97 kB / 0.6516 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.5501, allocations: 47.83 kB / 0.6516 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.5501, allocations: 32 kB / 0.6517 GB, free: 10.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001941/0.5521, allocations: 1.287 MB / 0.6529 GB, free: 8.754 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5521, allocations: 0 / 0.6529 GB, free: 8.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002713/0.5548, allocations: 0.7076 MB / 0.6536 GB, free: 8.043 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.0003288/0.5552, allocations: 147 kB / 0.6538 GB, free: 7.891 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.5582, allocations: 2.031 MB / 0.6557 GB, free: 5.875 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5583, allocations: 4.125 kB / 0.6557 GB, free: 5.871 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.5588, allocations: 465.5 kB / 0.6562 GB, free: 5.418 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5601, allocations: 241.2 kB / 0.6564 GB, free: 5.184 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5705, allocations: 7.074 MB / 0.6633 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.5736, allocations: 2.343 MB / 0.6656 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002455/0.576, allocations: 0.9639 MB / 0.6666 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.5765, allocations: 123.4 kB / 0.6667 GB, free: 10.52 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5765, allocations: 0 / 0.6667 GB, free: 10.52 MB / 490.7 MB Notification: Performance of Templates: time 0.2706/0.8471, allocations: 14.36 MB / 0.6807 GB, free: 128.1 MB / 490.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches