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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00224/0.00224, allocations: 209.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 91.8 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3732, allocations: 66.08 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02157/0.3947, allocations: 8.403 MB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.4024, allocations: 2.794 MB / 0.5728 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.4041, allocations: 55.81 kB / 0.5729 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.4082, allocations: 1.932 MB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.4115, allocations: 1.148 MB / 0.5759 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.4124, allocations: 291.4 kB / 0.5762 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.4161, allocations: 2.322 MB / 0.5784 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.4185, allocations: 1.73 MB / 0.5801 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.4198, allocations: 0.8879 MB / 0.581 GB, free: 296 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.4216, allocations: 1.168 MB / 0.5821 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.422, allocations: 196 kB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.4233, allocations: 0.6123 MB / 0.5829 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.4245, allocations: 1.133 MB / 0.584 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.4257, allocations: 0.947 MB / 0.585 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.4313, allocations: 4.346 MB / 0.5892 GB, free: 7.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4313, allocations: 0 / 0.5892 GB, free: 7.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4313, allocations: 0 / 0.5892 GB, free: 7.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.4315, allocations: 0 / 0.5892 GB, free: 7.859 MB / 430.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.005726/0.4372, allocations: 2.87 MB / 0.592 GB, free: 4.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4372, allocations: 12.03 kB / 0.592 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/0.4425, allocations: 1.571 MB / 0.5936 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.4459, allocations: 1.283 MB / 0.5948 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.4461, allocations: 144 kB / 0.5949 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.4465, allocations: 187.8 kB / 0.5951 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.4568, allocations: 6.25 MB / 0.6012 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/0.4569, allocations: 15.86 kB / 0.6012 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.4571, allocations: 87.91 kB / 0.6013 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.4594, allocations: 1.348 MB / 0.6026 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.4701, allocations: 5.319 MB / 0.6078 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.5003, allocations: 18.29 MB / 0.6257 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.5044, allocations: 1.488 MB / 0.6272 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.5055, allocations: 0.6328 MB / 0.6278 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006885/0.5124, allocations: 3.017 MB / 0.6307 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.5124, allocations: 39 kB / 0.6308 GB, free: 12.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.677e-06/0.5124, allocations: 0 / 0.6308 GB, free: 12.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005904/0.5183, allocations: 1.982 MB / 0.6327 GB, free: 10.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.5184, allocations: 55.84 kB / 0.6327 GB, free: 10.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.5212, allocations: 1.935 MB / 0.6346 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.5213, allocations: 37.69 kB / 0.6347 GB, free: 8.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.5229, allocations: 1.919 MB / 0.6365 GB, free: 6.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.5233, allocations: 329.5 kB / 0.6369 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.5241, allocations: 0.6233 MB / 0.6375 GB, free: 5.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5243, allocations: 345.9 kB / 0.6378 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.5257, allocations: 0.8881 MB / 0.6387 GB, free: 4.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.5286, allocations: 2.747 MB / 0.6413 GB, free: 476 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.5336, allocations: 3.978 MB / 0.6452 GB, free: 11.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/0.5337, allocations: 16 kB / 0.6452 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006234/0.5399, allocations: 3.526 MB / 0.6487 GB, free: 8.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.54, allocations: 32 kB / 0.6487 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/0.5401, allocations: 68 kB / 0.6488 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.5402, allocations: 84 kB / 0.6489 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.5421, allocations: 0.6589 MB / 0.6495 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.5423, allocations: 131.4 kB / 0.6496 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.5444, allocations: 413.1 kB / 0.65 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.5446, allocations: 192 kB / 0.6502 GB, free: 6.453 MB / 494.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.002236/0.5469, allocations: 1.343 MB / 0.6515 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.5471, allocations: 162.9 kB / 0.6517 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.5475, allocations: 184 kB / 0.6519 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.5475, allocations: 15.94 kB / 0.6519 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5475, allocations: 3.938 kB / 0.6519 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5475, allocations: 3.984 kB / 0.6519 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.5534, allocations: 3.066 MB / 0.6549 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.5534, allocations: 8 kB / 0.6549 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.5538, allocations: 99.83 kB / 0.655 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.5539, allocations: 11.94 kB / 0.655 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.5539, allocations: 23.98 kB / 0.655 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.5539, allocations: 11.94 kB / 0.655 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.5539, allocations: 11.94 kB / 0.655 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5556, allocations: 1.253 MB / 0.6563 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.556, allocations: 151 kB / 0.6564 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.5562, allocations: 23.75 kB / 0.6564 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.5566, allocations: 27.95 kB / 0.6564 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5568, allocations: 59.75 kB / 0.6565 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/0.5568, allocations: 31.98 kB / 0.6565 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001772/0.5586, allocations: 1.114 MB / 0.6576 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5586, allocations: 0 / 0.6576 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002806/0.5614, allocations: 0.7045 MB / 0.6583 GB, free: 13.92 MB / 0.4981 GB 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.0003482/0.5618, allocations: 146.9 kB / 0.6584 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003347/0.5651, allocations: 1.951 MB / 0.6604 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5651, allocations: 6 kB / 0.6604 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.5657, allocations: 441 kB / 0.6608 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5668, allocations: 188.4 kB / 0.661 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009547/0.5764, allocations: 5.405 MB / 0.6662 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/0.5795, allocations: 1.716 MB / 0.6679 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/0.5801, allocations: 135.4 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.5801, allocations: 0 / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.07176/0.6519, allocations: 30.07 MB / 0.6974 GB, free: 5.77 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.006033214274794]