Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001265/0.001265, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001104/0.001104, allocations: 166.9 kB / 24.91 MB, free: 8.758 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.9616/0.9616, allocations: 177 MB / 205.2 MB, free: 5.426 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.237/0.237, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.226e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01141/0.01144, allocations: 9.007 MB / 334.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008065/0.0195, allocations: 2.959 MB / 337.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.02127, allocations: 55.81 kB / 337.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.02593, allocations: 2.138 MB / 340.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.02949, allocations: 1.178 MB / 341.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.0304, allocations: 319.2 kB / 341.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.03371, allocations: 2.212 MB / 343.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.03609, allocations: 1.848 MB / 345.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.03804, allocations: 1.298 MB / 346.9 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.03953, allocations: 1.118 MB / 348 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.0398, allocations: 192 kB / 348.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.04082, allocations: 0.6474 MB / 348.9 MB, free: 56 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009763/0.0418, allocations: 1.184 MB / 350 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007843/0.04258, allocations: 0.7202 MB / 350.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.04603, allocations: 2.728 MB / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.04604, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.04604, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.247e-05/0.04612, allocations: 4 kB / 353.5 MB, free: 11.4 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.00402/0.05014, allocations: 2.671 MB / 356.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.05018, allocations: 8.031 kB / 356.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.05271, allocations: 0.7577 MB / 356.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.05439, allocations: 1.049 MB / 358 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.05449, allocations: 144 kB / 358.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.05476, allocations: 188.2 kB / 358.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.05792, allocations: 2.844 MB / 361.2 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.05795, allocations: 15.88 kB / 361.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.0581, allocations: 87.91 kB / 361.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/0.05911, allocations: 1.192 MB / 362.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.06155, allocations: 1.513 MB / 364 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.0741, allocations: 15.27 MB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.07588, allocations: 0.9112 MB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.07609, allocations: 152.8 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.07878, allocations: 2.134 MB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.07881, allocations: 39.06 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.776e-06/0.07881, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002233/0.08105, allocations: 1.09 MB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.08108, allocations: 59.84 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.08205, allocations: 1.42 MB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.08209, allocations: 37.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.0828, allocations: 1.842 MB / 386.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.08295, allocations: 317.5 kB / 387.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.08336, allocations: 0.5801 MB / 387.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.08345, allocations: 349.9 kB / 388.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.08379, allocations: 310.2 kB / 388.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.08485, allocations: 2.091 MB / 390.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.08659, allocations: 2.747 MB / 393.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.08661, allocations: 20 kB / 393.3 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001926/0.08853, allocations: 1.958 MB / 395.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.08857, allocations: 39.94 kB / 395.3 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/0.08861, allocations: 64 kB / 395.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.532e-05/0.08866, allocations: 88.81 kB / 395.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.08967, allocations: 0.6355 MB / 396.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.989e-05/0.08974, allocations: 139.5 kB / 396.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.09073, allocations: 400.9 kB / 396.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.09087, allocations: 172 kB / 396.8 MB, free: 13.16 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.0007264/0.0916, allocations: 361.6 kB / 397.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.09172, allocations: 99.83 kB / 397.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.09187, allocations: 156 kB / 397.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.09189, allocations: 12 kB / 397.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.09189, allocations: 0 / 397.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.0919, allocations: 3.984 kB / 397.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.09417, allocations: 1.88 MB / 399.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.09417, allocations: 4.75 kB / 399.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.09436, allocations: 83.84 kB / 399.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.09437, allocations: 12 kB / 399.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.09439, allocations: 23.98 kB / 399.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.0944, allocations: 8 kB / 399.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.09441, allocations: 7.938 kB / 399.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.09489, allocations: 0.6213 MB / 400 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.09502, allocations: 150.8 kB / 400.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.0951, allocations: 20 kB / 400.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.0953, allocations: 12 kB / 400.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.09536, allocations: 55.8 kB / 400.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.09539, allocations: 24 kB / 400.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.09581, allocations: 0.5448 MB / 400.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09581, allocations: 0 / 400.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001548/0.09736, allocations: 0.7045 MB / 401.5 MB, free: 8.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002311/0.09759, allocations: 136 kB / 401.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.09868, allocations: 1.101 MB / 402.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-05/0.09875, allocations: 47.94 kB / 402.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.0989, allocations: 156.4 kB / 403 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.09945, allocations: 195 kB / 403.2 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.1042, allocations: 4.461 MB / 407.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.1048, allocations: 0.7502 MB / 408.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.1053, allocations: 246.6 kB / 408.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.1057, allocations: 275.3 kB / 408.9 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.1057, allocations: 3.938 kB / 408.9 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of Templates: time 0.02027/0.1259, allocations: 12.47 MB / 421.4 MB, free: 4.383 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.242032987996936]