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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009197/0.0009197, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009035/0.0009035, allocations: 161.1 kB / 24.91 MB, free: 8.727 MB / 18.57 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 0.9277/0.9277, allocations: 177 MB / 205.2 MB, free: 5.004 MB / 186.7 MB " [Timeout remaining time 179] 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.2422/0.2422, allocations: 34.85 MB / 296.6 MB, free: 468 kB / 266.7 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.301e-05, allocations: 5.391 kB / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007302/0.007325, allocations: 9.011 MB / 334.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005042/0.01237, allocations: 2.966 MB / 337.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.01348, allocations: 55.81 kB / 337.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.01592, allocations: 2.13 MB / 340.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.01819, allocations: 1.186 MB / 341.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.01877, allocations: 315.2 kB / 341.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.02131, allocations: 2.21 MB / 343.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.02331, allocations: 1.848 MB / 345.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.02506, allocations: 1.294 MB / 346.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.02657, allocations: 1.118 MB / 348 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004364/0.02701, allocations: 196 kB / 348.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.02803, allocations: 0.6434 MB / 348.9 MB, free: 88 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.02908, allocations: 1.188 MB / 350 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009308/0.03002, allocations: 0.7164 MB / 350.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.03354, allocations: 2.724 MB / 353.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.03354, allocations: 8 kB / 353.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.03355, allocations: 0 / 353.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001321/0.03368, allocations: 0 / 353.5 MB, free: 11.43 MB / 330.7 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.003433/0.03711, allocations: 2.671 MB / 356.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.03715, allocations: 12.03 kB / 356.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.03897, allocations: 0.7538 MB / 356.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.04033, allocations: 1.057 MB / 358 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.0404, allocations: 152 kB / 358.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.04061, allocations: 184.3 kB / 358.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.04393, allocations: 2.84 MB / 361.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.04397, allocations: 11.88 kB / 361.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.04412, allocations: 91.91 kB / 361.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.04514, allocations: 1.192 MB / 362.4 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.04776, allocations: 1.51 MB / 364 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.06161, allocations: 15.3 MB / 379.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.06352, allocations: 0.8847 MB / 380.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.0638, allocations: 152.8 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004005/0.0678, allocations: 2.24 MB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.06784, allocations: 39.06 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.248e-06/0.06784, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.00315/0.07099, allocations: 1.105 MB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.07103, allocations: 59.84 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.0725, allocations: 1.42 MB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.07254, allocations: 41.62 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/0.07341, allocations: 1.834 MB / 387 MB, free: 8.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.0736, allocations: 321.5 kB / 387.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/0.07415, allocations: 0.5801 MB / 387.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.07425, allocations: 349.8 kB / 388.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.0747, allocations: 310.2 kB / 388.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.07599, allocations: 2.091 MB / 390.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.07852, allocations: 2.747 MB / 393.4 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-05/0.07855, allocations: 20 kB / 393.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002716/0.08127, allocations: 1.957 MB / 395.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.08131, allocations: 35.98 kB / 395.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.103e-05/0.08138, allocations: 68 kB / 395.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/0.08145, allocations: 87.94 kB / 395.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.08286, allocations: 0.6395 MB / 396.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.348e-05/0.08294, allocations: 131.5 kB / 396.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.08439, allocations: 405.1 kB / 396.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.08457, allocations: 163.9 kB / 396.9 MB, free: 13.07 MB / 378.7 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.0007518/0.08532, allocations: 365.6 kB / 397.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.08546, allocations: 91.91 kB / 397.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.08564, allocations: 164 kB / 397.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.08566, allocations: 12 kB / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.08567, allocations: 0 / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.08567, allocations: 3.984 kB / 397.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.08905, allocations: 2.264 MB / 399.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.08906, allocations: 11.98 kB / 399.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.08934, allocations: 91.84 kB / 399.9 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.08935, allocations: 8 kB / 399.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.08938, allocations: 16 kB / 399.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.08939, allocations: 15.92 kB / 399.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.0894, allocations: 11.94 kB / 399.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.09002, allocations: 0.649 MB / 400.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.09019, allocations: 158.7 kB / 400.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.09031, allocations: 16 kB / 400.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.09061, allocations: 16 kB / 400.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.09068, allocations: 63.67 kB / 400.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.09073, allocations: 24 kB / 400.9 MB, free: 8.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005639/0.09129, allocations: 0.5526 MB / 401.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09129, allocations: 0 / 401.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002107/0.0934, allocations: 0.6968 MB / 402.1 MB, free: 7.629 MB / 378.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.0002611/0.09366, allocations: 132.1 kB / 402.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.09508, allocations: 1.097 MB / 403.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.629e-05/0.09517, allocations: 47.94 kB / 403.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.09539, allocations: 176.2 kB / 403.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.09617, allocations: 186.3 kB / 403.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.1025, allocations: 4.5 MB / 408.2 MB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.1033, allocations: 0.7618 MB / 409 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007713/0.1041, allocations: 241.5 kB / 409.2 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.1045, allocations: 271.3 kB / 409.5 MB, free: 64 kB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1045, allocations: 0 / 409.5 MB, free: 64 kB / 378.7 MB Notification: Performance of Templates: time 0.03452/0.139, allocations: 12.42 MB / 421.9 MB, free: 3.828 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1911913570947945]