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.001014/0.001014, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001075/0.001075, allocations: 163.4 kB / 25.61 MB, free: 8.582 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 1.01/1.01, allocations: 177 MB / 205.9 MB, free: 4.457 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.1537/0.1537, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.783e-06/1.783e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.246e-05, allocations: 2.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01356/0.01358, allocations: 14.08 MB / 394.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009712/0.02329, allocations: 4.934 MB / 399 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.02605, allocations: 139.3 kB / 399.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.03227, allocations: 6.336 MB / 405.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.03851, allocations: 2.92 MB / 408.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.04171, allocations: 1.786 MB / 410.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.05187, allocations: 9.144 MB / 419.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009116/0.06098, allocations: 6.588 MB / 425.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008405/0.06939, allocations: 4.553 MB / 430.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/0.07627, allocations: 4.458 MB / 434.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.07843, allocations: 0.5859 MB / 435.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.08212, allocations: 1.369 MB / 436.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004207/0.08632, allocations: 3.826 MB / 440.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004622/0.09095, allocations: 2.286 MB / 443 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.1012, allocations: 7.59 MB / 450.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1013, allocations: 0 / 450.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1013, allocations: 0 / 450.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005428/0.1018, allocations: 0 / 450.6 MB, free: 15.86 MB / 378.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.01455/0.1163, allocations: 8.721 MB / 459.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1164, allocations: 8.031 kB / 459.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/0.1222, allocations: 2.361 MB / 461.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006829/0.129, allocations: 3.778 MB / 465.5 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/0.1294, allocations: 419 kB / 465.9 MB, free: 420 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.1308, allocations: 0.5313 MB / 466.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.1486, allocations: 9.278 MB / 475.7 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/0.1488, allocations: 71.33 kB / 475.8 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007561/0.1495, allocations: 267.8 kB / 476 MB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.1523, allocations: 2.678 MB / 478.7 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.1636, allocations: 3.976 MB / 482.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/0.5306, allocations: 70.93 MB / 0.5406 GB, free: 49.49 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.537, allocations: 3.169 MB / 0.5437 GB, free: 46.36 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.5377, allocations: 0.6668 MB / 0.5444 GB, free: 45.69 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006875/0.5446, allocations: 6.007 MB / 0.5502 GB, free: 39.83 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5446, allocations: 58.69 kB / 0.5503 GB, free: 39.77 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 5.07e-06/0.5446, allocations: 3.188 kB / 0.5503 GB, free: 39.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01832/0.5629, allocations: 7.944 MB / 0.5581 GB, free: 32.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.563, allocations: 153.1 kB / 0.5582 GB, free: 32.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/0.5667, allocations: 5.47 MB / 0.5635 GB, free: 26.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5668, allocations: 53.69 kB / 0.5636 GB, free: 26.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.5688, allocations: 5.547 MB / 0.569 GB, free: 21.61 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.5692, allocations: 0.8841 MB / 0.5699 GB, free: 20.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.5704, allocations: 1.853 MB / 0.5717 GB, free: 18.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.5705, allocations: 484.7 kB / 0.5721 GB, free: 18.37 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.5715, allocations: 0.6955 MB / 0.5728 GB, free: 17.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/0.5747, allocations: 8.662 MB / 0.5813 GB, free: 5.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/0.582, allocations: 10.31 MB / 0.5914 GB, free: 7.566 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.523e-05/0.5821, allocations: 52 kB / 0.5914 GB, free: 7.516 MB / 426.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007895/0.59, allocations: 6.608 MB / 0.5979 GB, free: 0.9102 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.59, allocations: 91.94 kB / 0.5979 GB, free: 0.8203 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.5902, allocations: 188 kB / 0.5981 GB, free: 0.6367 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.5904, allocations: 252 kB / 0.5984 GB, free: 400 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.5938, allocations: 1.888 MB / 0.6002 GB, free: 14.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002691/0.5941, allocations: 374.5 kB / 0.6006 GB, free: 14.13 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/0.598, allocations: 371.7 kB / 0.6009 GB, free: 13.77 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/0.5984, allocations: 467.1 kB / 0.6014 GB, free: 13.32 MB / 442.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.002291/0.6007, allocations: 0.8709 MB / 0.6022 GB, free: 12.43 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.6013, allocations: 0.5552 MB / 0.6028 GB, free: 11.88 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.6018, allocations: 0.4902 MB / 0.6032 GB, free: 11.38 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.6019, allocations: 20 kB / 0.6033 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.6019, allocations: 4 kB / 0.6033 GB, free: 11.35 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6019, allocations: 11.95 kB / 0.6033 GB, free: 11.34 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6144, allocations: 10.09 MB / 0.6131 GB, free: 332 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/0.6144, allocations: 48 kB / 0.6132 GB, free: 284 kB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.6151, allocations: 432 kB / 0.6136 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-05/0.6152, allocations: 60 kB / 0.6136 GB, free: 15.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.6153, allocations: 104 kB / 0.6137 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-05/0.6154, allocations: 95.64 kB / 0.6138 GB, free: 15.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.324e-05/0.6154, allocations: 71.69 kB / 0.6139 GB, free: 15.53 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.6202, allocations: 4.032 MB / 0.6178 GB, free: 10.55 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.6215, allocations: 0.5742 MB / 0.6184 GB, free: 9.977 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.622, allocations: 111.9 kB / 0.6185 GB, free: 9.867 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.6237, allocations: 84 kB / 0.6186 GB, free: 9.785 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.6239, allocations: 322.4 kB / 0.6189 GB, free: 9.469 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.6241, allocations: 112 kB / 0.619 GB, free: 9.359 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002616/0.6267, allocations: 2.232 MB / 0.6212 GB, free: 7.156 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6267, allocations: 0 / 0.6212 GB, free: 7.156 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006091/0.6328, allocations: 1.496 MB / 0.6226 GB, free: 5.66 MB / 458.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.0005625/0.6333, allocations: 290 kB / 0.6229 GB, free: 5.363 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00508/0.6384, allocations: 3.494 MB / 0.6263 GB, free: 1.887 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.873e-05/0.6384, allocations: 8 kB / 0.6263 GB, free: 1.879 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.6393, allocations: 0.7201 MB / 0.627 GB, free: 1.16 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/0.6438, allocations: 0.836 MB / 0.6279 GB, free: 364 kB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.6628, allocations: 13.72 MB / 0.6412 GB, free: 1.637 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002686/0.6655, allocations: 2.103 MB / 0.6433 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002371/0.6678, allocations: 0.7639 MB / 0.644 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.669, allocations: 0.8804 MB / 0.6449 GB, free: 13.85 MB / 490.8 MB Notification: Performance of SimCode: time 2.264e-06/0.669, allocations: 3.938 kB / 0.6449 GB, free: 13.85 MB / 490.8 MB Notification: Performance of Templates: time 0.2714/0.9404, allocations: 38.63 MB / 0.6826 GB, free: 180.6 MB / 0.4949 GB " [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 -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: 5.556972248014063]