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.0009864/0.0009864, 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.0009362/0.0009362, 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.9467/0.9467, allocations: 177 MB / 204.8 MB, free: 5.586 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.2505/0.2505, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.222e-06/1.222e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.052e-05, allocations: 7.156 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0112/0.01122, allocations: 14.45 MB / 393.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007658/0.01888, allocations: 4.983 MB / 398.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.02004, allocations: 139.3 kB / 398.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005813/0.02585, allocations: 6.43 MB / 404.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.03033, allocations: 2.916 MB / 407.7 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.03249, allocations: 1.793 MB / 409.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006524/0.03901, allocations: 9.129 MB / 418.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.04377, allocations: 6.584 MB / 425.2 MB, free: 3.445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003934/0.0477, allocations: 4.507 MB / 429.7 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.05101, allocations: 4.451 MB / 434.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008543/0.05186, allocations: 0.5898 MB / 434.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.05336, allocations: 1.362 MB / 436.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.05538, allocations: 3.822 MB / 439.9 MB, free: 4.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.05721, allocations: 2.29 MB / 442.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1615/0.2187, allocations: 7.59 MB / 449.8 MB, free: 67.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2187, allocations: 0 / 449.8 MB, free: 67.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2187, allocations: 0 / 449.8 MB, free: 67.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003769/0.2191, allocations: 0 / 449.8 MB, free: 67.2 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.01075/0.2299, allocations: 9.297 MB / 459.1 MB, free: 63.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2299, allocations: 9 kB / 459.1 MB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/0.2355, allocations: 3.342 MB / 462.4 MB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/0.2398, allocations: 4.068 MB / 466.5 MB, free: 62.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.24, allocations: 415.2 kB / 466.9 MB, free: 62.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005664/0.2405, allocations: 0.545 MB / 467.5 MB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.2523, allocations: 10.4 MB / 477.9 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.2524, allocations: 75.61 kB / 477.9 MB, free: 57.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.2529, allocations: 262.8 kB / 478.2 MB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/0.2556, allocations: 2.923 MB / 481.1 MB, free: 56.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.2667, allocations: 5.229 MB / 486.3 MB, free: 56.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05077/0.3175, allocations: 72.18 MB / 0.5454 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/0.3361, allocations: 3.608 MB / 0.549 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.3372, allocations: 0.7729 MB / 0.5497 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.3483, allocations: 6.322 MB / 0.5559 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3483, allocations: 54.7 kB / 0.5559 GB, free: 6.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.156e-06/0.3483, allocations: 0 / 0.5559 GB, free: 6.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02066/0.3689, allocations: 13.17 MB / 0.5688 GB, free: 9.043 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.369, allocations: 157.8 kB / 0.5689 GB, free: 8.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/0.3746, allocations: 5.522 MB / 0.5743 GB, free: 3.355 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/0.3746, allocations: 57.7 kB / 0.5744 GB, free: 3.293 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00271/0.3773, allocations: 5.499 MB / 0.5798 GB, free: 13.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005991/0.3779, allocations: 0.8713 MB / 0.5806 GB, free: 12.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.3798, allocations: 1.824 MB / 0.5824 GB, free: 11.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3799, allocations: 478.3 kB / 0.5829 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.3813, allocations: 0.7814 MB / 0.5836 GB, free: 9.875 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005029/0.3863, allocations: 8.701 MB / 0.5921 GB, free: 13.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1656/0.5519, allocations: 10.48 MB / 0.6023 GB, free: 132.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000307/0.5522, allocations: 55.28 kB / 0.6024 GB, free: 132.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01042/0.5626, allocations: 7.043 MB / 0.6093 GB, free: 131.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.5627, allocations: 85.5 kB / 0.6094 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/0.5628, allocations: 195 kB / 0.6095 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.563, allocations: 249.2 kB / 0.6098 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.5659, allocations: 1.935 MB / 0.6117 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/0.5661, allocations: 372.1 kB / 0.612 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.5694, allocations: 0.6299 MB / 0.6126 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/0.5697, allocations: 0.52 MB / 0.6132 GB, free: 131 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.001802/0.5715, allocations: 0.8681 MB / 0.614 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.572, allocations: 0.5702 MB / 0.6146 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.5724, allocations: 494.2 kB / 0.615 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5724, allocations: 26.14 kB / 0.6151 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.5724, allocations: 4 kB / 0.6151 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5725, allocations: 6.891 kB / 0.6151 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5829, allocations: 9.274 MB / 0.6241 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/0.5829, allocations: 37.56 kB / 0.6242 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.5836, allocations: 390 kB / 0.6245 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-05/0.5837, allocations: 49.94 kB / 0.6246 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5838, allocations: 86.09 kB / 0.6247 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/0.5838, allocations: 71.72 kB / 0.6247 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.391e-05/0.5839, allocations: 59.25 kB / 0.6248 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.5864, allocations: 3.609 MB / 0.6283 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.587, allocations: 0.5722 MB / 0.6289 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/0.5874, allocations: 94.19 kB / 0.629 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.5887, allocations: 227.4 kB / 0.6292 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.5889, allocations: 265.3 kB / 0.6294 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.589, allocations: 115.5 kB / 0.6295 GB, free: 124.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002741/0.5917, allocations: 2.403 MB / 0.6319 GB, free: 124.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5917, allocations: 1.094 kB / 0.6319 GB, free: 124.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004982/0.5967, allocations: 1.495 MB / 0.6333 GB, free: 124.7 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.0004175/0.5971, allocations: 258.7 kB / 0.6336 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.6014, allocations: 3.599 MB / 0.6371 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/0.6014, allocations: 7.25 kB / 0.6371 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.602, allocations: 0.6394 MB / 0.6377 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.6053, allocations: 0.8038 MB / 0.6385 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.6219, allocations: 13.36 MB / 0.6516 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6237, allocations: 2.083 MB / 0.6536 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003539/0.6272, allocations: 2.17 MB / 0.6557 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.6277, allocations: 341.3 kB / 0.656 GB, free: 112.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.734e-06/0.6277, allocations: 3.938 kB / 0.6561 GB, free: 112.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05097/0.6786, allocations: 33.36 MB / 0.6886 GB, free: 84.06 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.610486237797886]