Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.001076/0.001076, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009873/0.0009873, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9333/0.9333, allocations: 177 MB / 204.8 MB, free: 5.555 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.2498/0.2498, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.583e-05, allocations: 3.297 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01086/0.01088, allocations: 14.44 MB / 393.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008515/0.01939, allocations: 4.994 MB / 398.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.02102, allocations: 139.3 kB / 398.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006022/0.02704, allocations: 6.434 MB / 404.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.03127, allocations: 2.912 MB / 407.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.0332, allocations: 1.793 MB / 409.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007426/0.04062, allocations: 9.127 MB / 418.6 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/0.04747, allocations: 6.592 MB / 425.2 MB, free: 3.418 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.05272, allocations: 4.51 MB / 429.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004707/0.05743, allocations: 4.455 MB / 434.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008522/0.05828, allocations: 0.5859 MB / 434.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.06035, allocations: 1.362 MB / 436.1 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.06324, allocations: 3.83 MB / 439.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.06538, allocations: 2.282 MB / 442.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1549/0.2203, allocations: 7.59 MB / 449.8 MB, free: 67.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2203, allocations: 0 / 449.8 MB, free: 67.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2203, allocations: 0 / 449.8 MB, free: 67.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.2206, allocations: 0 / 449.8 MB, free: 67.04 MB / 410.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.009059/0.2296, allocations: 9.305 MB / 459.1 MB, free: 63.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2297, allocations: 11.7 kB / 459.1 MB, free: 63.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/0.2353, allocations: 3.34 MB / 462.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.2394, allocations: 4.109 MB / 466.6 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.2395, allocations: 414.5 kB / 467 MB, free: 62.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000523/0.2401, allocations: 0.5419 MB / 467.5 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.252, allocations: 10.4 MB / 477.9 MB, free: 57.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.2522, allocations: 68.05 kB / 478 MB, free: 57.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.2526, allocations: 260.9 kB / 478.3 MB, free: 57.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.2556, allocations: 2.929 MB / 481.2 MB, free: 56.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.2673, allocations: 5.221 MB / 486.4 MB, free: 56.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/0.3132, allocations: 72.18 MB / 0.5455 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/0.3203, allocations: 3.595 MB / 0.549 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/0.3213, allocations: 0.7714 MB / 0.5498 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006999/0.3282, allocations: 6.326 MB / 0.5559 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3283, allocations: 54.7 kB / 0.556 GB, free: 5.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.777e-06/0.3283, allocations: 4 kB / 0.556 GB, free: 5.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02646/0.3547, allocations: 13.17 MB / 0.5689 GB, free: 8.738 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3548, allocations: 157.6 kB / 0.569 GB, free: 8.559 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006989/0.3618, allocations: 5.524 MB / 0.5744 GB, free: 3.051 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.3619, allocations: 61.38 kB / 0.5745 GB, free: 2.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00356/0.3655, allocations: 5.499 MB / 0.5798 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.3661, allocations: 0.8737 MB / 0.5807 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/0.3681, allocations: 1.818 MB / 0.5825 GB, free: 10.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3682, allocations: 476.8 kB / 0.5829 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3698, allocations: 0.7814 MB / 0.5837 GB, free: 9.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006009/0.3758, allocations: 8.699 MB / 0.5922 GB, free: 13.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1685/0.5443, allocations: 10.48 MB / 0.6024 GB, free: 132.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002742/0.5445, allocations: 54.94 kB / 0.6025 GB, free: 132.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009773/0.5543, allocations: 7.055 MB / 0.6093 GB, free: 131.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/0.5544, allocations: 85.44 kB / 0.6094 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.5545, allocations: 191 kB / 0.6096 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.5547, allocations: 247.9 kB / 0.6098 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.5577, allocations: 1.931 MB / 0.6117 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002063/0.5579, allocations: 382.2 kB / 0.6121 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.5612, allocations: 0.6283 MB / 0.6127 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.5616, allocations: 0.515 MB / 0.6132 GB, free: 130.9 MB / 474.7 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 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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.001918/0.5635, allocations: 0.8665 MB / 0.6141 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/0.5641, allocations: 0.5676 MB / 0.6146 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.5645, allocations: 494.8 kB / 0.6151 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.5645, allocations: 26.2 kB / 0.6151 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.5645, allocations: 0 / 0.6151 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5645, allocations: 13.88 kB / 0.6151 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5753, allocations: 9.268 MB / 0.6242 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/0.5754, allocations: 38.12 kB / 0.6242 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.5761, allocations: 395.9 kB / 0.6246 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.984e-05/0.5762, allocations: 51.09 kB / 0.6246 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.5763, allocations: 82.97 kB / 0.6247 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.567e-05/0.5764, allocations: 75.17 kB / 0.6248 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.739e-05/0.5764, allocations: 63.72 kB / 0.6248 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/0.5794, allocations: 3.603 MB / 0.6284 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.5802, allocations: 0.5742 MB / 0.6289 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/0.5806, allocations: 98.7 kB / 0.629 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.5819, allocations: 223.4 kB / 0.6292 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.5821, allocations: 263.2 kB / 0.6295 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.5822, allocations: 110.6 kB / 0.6296 GB, free: 124.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002904/0.5851, allocations: 2.407 MB / 0.6319 GB, free: 124.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5851, allocations: 4 kB / 0.6319 GB, free: 124.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004988/0.5901, allocations: 1.489 MB / 0.6334 GB, free: 124.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0003782/0.5905, allocations: 265.1 kB / 0.6337 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004076/0.5946, allocations: 3.594 MB / 0.6372 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.5946, allocations: 4.562 kB / 0.6372 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.5951, allocations: 0.6461 MB / 0.6378 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.5976, allocations: 0.804 MB / 0.6386 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6125, allocations: 13.36 MB / 0.6516 GB, free: 114.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.6141, allocations: 2.085 MB / 0.6537 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003652/0.6178, allocations: 2.174 MB / 0.6558 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.6183, allocations: 340.7 kB / 0.6561 GB, free: 111.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6183, allocations: 0 / 0.6561 GB, free: 111.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1104/0.7287, allocations: 34.94 MB / 0.6902 GB, free: 82.14 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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.681555135641247]