Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001413/0.001413, 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.001705/0.001705, allocations: 158.5 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.9509/0.9509, allocations: 177 MB / 205.2 MB, free: 5.016 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.2677/0.2677, allocations: 34.86 MB / 296.6 MB, free: 404 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.177e-05, allocations: 2.312 kB / 325.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008148/0.008169, allocations: 9.052 MB / 335 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003591/0.01176, allocations: 2.963 MB / 338 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.01217, allocations: 55.81 kB / 338 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.01409, allocations: 2.099 MB / 340.1 MB, free: 8.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.01539, allocations: 1.171 MB / 341.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.01577, allocations: 323.1 kB / 341.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.01738, allocations: 2.199 MB / 343.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.01865, allocations: 1.856 MB / 345.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.01958, allocations: 1.294 MB / 346.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.02054, allocations: 1.118 MB / 348.1 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.02073, allocations: 192 kB / 348.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.02141, allocations: 0.6669 MB / 348.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006296/0.02204, allocations: 1.188 MB / 350.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005045/0.02254, allocations: 0.7125 MB / 350.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.02437, allocations: 2.724 MB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.02438, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02438, allocations: 3.938 kB / 353.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.02441, allocations: 0 / 353.5 MB, free: 11.33 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.00243/0.02684, allocations: 2.682 MB / 356.2 MB, free: 8.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.02688, allocations: 8.031 kB / 356.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.02871, allocations: 0.75 MB / 357 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.02989, allocations: 1.057 MB / 358 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.02996, allocations: 144 kB / 358.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.03016, allocations: 184.3 kB / 358.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.03304, allocations: 2.84 MB / 361.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.03308, allocations: 11.88 kB / 361.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.03322, allocations: 91.89 kB / 361.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.03435, allocations: 1.192 MB / 362.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.0368, allocations: 1.513 MB / 364 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.04749, allocations: 15.27 MB / 379.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.0492, allocations: 0.9151 MB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.04939, allocations: 160.7 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002632/0.05203, allocations: 2.123 MB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.05205, allocations: 39.06 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/0.05205, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003402/0.05546, allocations: 1.09 MB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.05549, allocations: 55.91 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.05668, allocations: 1.428 MB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.05672, allocations: 37.7 kB / 385.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008584/0.05758, allocations: 1.834 MB / 387 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.05777, allocations: 321.5 kB / 387.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005889/0.05836, allocations: 0.5723 MB / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.05846, allocations: 357.8 kB / 388.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.05891, allocations: 314.1 kB / 388.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.0602, allocations: 2.091 MB / 390.6 MB, free: 4.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.06238, allocations: 2.744 MB / 393.3 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.06241, allocations: 20 kB / 393.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002545/0.06495, allocations: 1.96 MB / 395.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.06499, allocations: 36 kB / 395.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/0.06505, allocations: 64 kB / 395.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-05/0.06514, allocations: 88 kB / 395.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.0667, allocations: 0.6745 MB / 396.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.274e-05/0.06679, allocations: 127.5 kB / 396.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.06821, allocations: 405.2 kB / 396.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.06841, allocations: 160 kB / 396.8 MB, free: 13.08 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.0008155/0.06923, allocations: 373.6 kB / 397.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.06941, allocations: 91.84 kB / 397.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.06965, allocations: 160 kB / 397.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.06967, allocations: 16 kB / 397.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.06968, allocations: 0 / 397.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.06968, allocations: 4 kB / 397.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.07284, allocations: 1.88 MB / 399.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.07284, allocations: 8 kB / 399.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.07315, allocations: 87.84 kB / 399.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.07316, allocations: 8 kB / 399.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.0732, allocations: 16 kB / 399.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.07321, allocations: 16.52 kB / 399.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.07322, allocations: 11.94 kB / 399.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.07388, allocations: 0.6252 MB / 400.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.07404, allocations: 142.8 kB / 400.3 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.07417, allocations: 19.98 kB / 400.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.07451, allocations: 12 kB / 400.3 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.0746, allocations: 55.75 kB / 400.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.07465, allocations: 27.98 kB / 400.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.07529, allocations: 0.5488 MB / 400.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07529, allocations: 0 / 400.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001402/0.07669, allocations: 0.7045 MB / 401.6 MB, free: 8.086 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.000214/0.07691, allocations: 132 kB / 401.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.07807, allocations: 1.092 MB / 402.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.29e-05/0.07814, allocations: 47.94 kB / 402.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.0783, allocations: 163.9 kB / 403.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.07885, allocations: 191.4 kB / 403.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.0832, allocations: 4.466 MB / 407.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.08378, allocations: 0.7502 MB / 408.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.08428, allocations: 252 kB / 408.7 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.08459, allocations: 271.3 kB / 409 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.08459, allocations: 0 / 409 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of Templates: time 0.02008/0.1047, allocations: 12.46 MB / 421.4 MB, free: 4.301 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.168958167079836]