Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.001376/0.001376, allocations: 88.86 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.001645/0.001645, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9794/0.9794, allocations: 177 MB / 205.2 MB, free: 5.055 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.2611/0.2611, allocations: 34.87 MB / 296.6 MB, free: 480 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.296e-05, allocations: 7.516 kB / 326 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01082/0.01084, allocations: 14.14 MB / 340.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009313/0.02015, allocations: 5.151 MB / 345.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.02244, allocations: 139.3 kB / 345.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.02921, allocations: 6.324 MB / 351.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00669/0.0359, allocations: 2.892 MB / 354.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.03926, allocations: 1.793 MB / 356.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009492/0.04876, allocations: 9.082 MB / 365.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006863/0.05562, allocations: 6.32 MB / 371.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00658/0.0622, allocations: 4.44 MB / 376.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005581/0.06778, allocations: 4.26 MB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.06942, allocations: 0.586 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.07201, allocations: 1.393 MB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003307/0.07532, allocations: 3.822 MB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003136/0.07845, allocations: 2.294 MB / 388.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007707/0.08616, allocations: 7.582 MB / 396.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.08617, allocations: 0 / 396.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.08617, allocations: 0 / 396.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003642/0.08653, allocations: 0 / 396.2 MB, free: 0.6211 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01067/0.0972, allocations: 7.819 MB / 404 MB, free: 8.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.09724, allocations: 12.03 kB / 404 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.1014, allocations: 1.643 MB / 405.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.1061, allocations: 3.654 MB / 409.3 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.1063, allocations: 415 kB / 409.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006663/0.107, allocations: 0.5313 MB / 410.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.1184, allocations: 8.305 MB / 418.5 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.1187, allocations: 63.41 kB / 418.6 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/0.1192, allocations: 263.8 kB / 418.9 MB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002383/0.1216, allocations: 2.674 MB / 421.5 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/0.1314, allocations: 4.078 MB / 425.6 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3197/0.4511, allocations: 51.07 MB / 476.7 MB, free: 71.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.4579, allocations: 3.051 MB / 479.7 MB, free: 70.25 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.4588, allocations: 0.5249 MB / 480.3 MB, free: 69.72 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007652/0.4664, allocations: 5.679 MB / 485.9 MB, free: 64.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4665, allocations: 55.34 kB / 486 MB, free: 64.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.596e-06/0.4665, allocations: 3 kB / 486 MB, free: 64.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01548/0.4819, allocations: 7.189 MB / 493.2 MB, free: 57.77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.482, allocations: 157.3 kB / 493.3 MB, free: 57.58 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.4854, allocations: 4.947 MB / 498.3 MB, free: 53.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.4856, allocations: 49.7 kB / 498.3 MB, free: 53.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.4869, allocations: 4.836 MB / 0.4914 GB, free: 48.37 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.4873, allocations: 0.847 MB / 0.4922 GB, free: 47.52 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000991/0.4883, allocations: 1.599 MB / 0.4938 GB, free: 45.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.485e-05/0.4883, allocations: 305.1 kB / 0.4941 GB, free: 45.6 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4896, allocations: 0.9537 MB / 0.495 GB, free: 44.64 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.4918, allocations: 6.116 MB / 0.501 GB, free: 35.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.4961, allocations: 7.968 MB / 0.5087 GB, free: 25.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.4963, allocations: 56 kB / 0.5088 GB, free: 25.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006277/0.5025, allocations: 5.674 MB / 0.5143 GB, free: 19.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.5026, allocations: 88 kB / 0.5144 GB, free: 19.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.5027, allocations: 188 kB / 0.5146 GB, free: 19.49 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.5028, allocations: 248 kB / 0.5148 GB, free: 19.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/0.506, allocations: 1.989 MB / 0.5168 GB, free: 17.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001755/0.5061, allocations: 374.5 kB / 0.5171 GB, free: 16.89 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.5099, allocations: 359.7 kB / 0.5175 GB, free: 16.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.5103, allocations: 467.3 kB / 0.5179 GB, free: 16.08 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001561/0.5118, allocations: 0.8241 MB / 0.5187 GB, free: 15.24 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.5123, allocations: 327.5 kB / 0.519 GB, free: 14.92 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.5127, allocations: 490 kB / 0.5195 GB, free: 14.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5127, allocations: 26.61 kB / 0.5195 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5127, allocations: 4 kB / 0.5195 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5127, allocations: 11.97 kB / 0.5195 GB, free: 14.39 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/0.5207, allocations: 8.691 MB / 0.528 GB, free: 4.898 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.5207, allocations: 52.03 kB / 0.5281 GB, free: 4.848 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.5215, allocations: 455.1 kB / 0.5285 GB, free: 4.402 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.97e-05/0.5215, allocations: 60 kB / 0.5286 GB, free: 4.344 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.5216, allocations: 96 kB / 0.5287 GB, free: 4.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-05/0.5216, allocations: 91.64 kB / 0.5288 GB, free: 4.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-05/0.5217, allocations: 71.69 kB / 0.5288 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.524, allocations: 3.319 MB / 0.5321 GB, free: 15.95 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/0.5248, allocations: 0.5587 MB / 0.5326 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.5252, allocations: 116 kB / 0.5327 GB, free: 15.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5263, allocations: 84 kB / 0.5328 GB, free: 15.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/0.5268, allocations: 318.4 kB / 0.5331 GB, free: 14.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.5269, allocations: 108 kB / 0.5332 GB, free: 14.78 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002359/0.5292, allocations: 2.156 MB / 0.5353 GB, free: 12.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5292, allocations: 0 / 0.5353 GB, free: 12.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006223/0.5355, allocations: 1.492 MB / 0.5368 GB, free: 11.15 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0005212/0.536, allocations: 275.1 kB / 0.537 GB, free: 10.87 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004633/0.5406, allocations: 3.284 MB / 0.5402 GB, free: 7.609 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002263/0.5408, allocations: 133.3 kB / 0.5404 GB, free: 7.473 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.5415, allocations: 0.6751 MB / 0.541 GB, free: 6.801 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.5449, allocations: 0.8142 MB / 0.5418 GB, free: 6.016 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.5624, allocations: 13.67 MB / 0.5552 GB, free: 7.523 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.5646, allocations: 2.099 MB / 0.5572 GB, free: 5.395 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002264/0.5669, allocations: 0.7669 MB / 0.558 GB, free: 4.625 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.568, allocations: 0.8174 MB / 0.5588 GB, free: 3.805 MB / 442.8 MB Notification: Performance of SimCode: time 1.893e-06/0.568, allocations: 0 / 0.5588 GB, free: 3.805 MB / 442.8 MB Notification: Performance of Templates: time 0.06977/0.6378, allocations: 37.77 MB / 0.5956 GB, free: 14.48 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 4.802021170035005]