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.001456/0.001456, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001607/0.001607, allocations: 163 kB / 24.82 MB, free: 9.305 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.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.453 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.2893/0.2893, allocations: 34.86 MB / 296.6 MB, free: 436 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.883e-06/1.883e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.914e-05, allocations: 3.297 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007614/0.007643, allocations: 8.994 MB / 388.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.0125, allocations: 2.852 MB / 391.1 MB, free: 5.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.0138, allocations: 55.81 kB / 391.1 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.0164, allocations: 2.107 MB / 393.2 MB, free: 3.727 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.01887, allocations: 1.178 MB / 394.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.01949, allocations: 319.2 kB / 394.7 MB, free: 2.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.02233, allocations: 2.371 MB / 397.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.02416, allocations: 1.801 MB / 398.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.02578, allocations: 1.302 MB / 400.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.02724, allocations: 1.169 MB / 401.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.02759, allocations: 196 kB / 401.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.02868, allocations: 0.6396 MB / 402.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008682/0.02955, allocations: 1.188 MB / 403.4 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.03028, allocations: 0.7202 MB / 404.1 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.03311, allocations: 2.72 MB / 406.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.03311, allocations: 0 / 406.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.03311, allocations: 0 / 406.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001018/0.03321, allocations: 0 / 406.8 MB, free: 6.059 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004099/0.03731, allocations: 3.114 MB / 409.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.03736, allocations: 16.03 kB / 410 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.0395, allocations: 0.9862 MB / 410.9 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.04107, allocations: 1.134 MB / 412.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.04115, allocations: 140 kB / 412.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.04139, allocations: 192.2 kB / 412.4 MB, free: 404 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.04531, allocations: 3.035 MB / 415.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.04534, allocations: 23.81 kB / 415.5 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.04549, allocations: 87.91 kB / 415.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.04651, allocations: 1.192 MB / 416.7 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.04915, allocations: 1.445 MB / 418.2 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.06628, allocations: 20.41 MB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.06829, allocations: 0.877 MB / 439.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.06854, allocations: 193.9 kB / 439.7 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002941/0.07148, allocations: 2.341 MB / 442 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.0715, allocations: 41.89 kB / 442 MB, free: 1.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.297e-06/0.07151, allocations: 0 / 442 MB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002461/0.07397, allocations: 1.221 MB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.074, allocations: 55.91 kB / 443.3 MB, free: 324 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.173/0.247, allocations: 1.796 MB / 445.1 MB, free: 94.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.2471, allocations: 34.47 kB / 445.1 MB, free: 94.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009137/0.248, allocations: 2.025 MB / 447.2 MB, free: 93.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2483, allocations: 338.8 kB / 447.5 MB, free: 93.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005839/0.2489, allocations: 0.6856 MB / 448.2 MB, free: 93.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.249, allocations: 0.5267 MB / 448.7 MB, free: 93.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.2493, allocations: 230.7 kB / 448.9 MB, free: 93.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.2504, allocations: 2.999 MB / 451.9 MB, free: 89.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.2529, allocations: 3.622 MB / 455.6 MB, free: 86.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-05/0.2529, allocations: 19.97 kB / 455.6 MB, free: 86.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002553/0.2555, allocations: 2.331 MB / 457.9 MB, free: 85.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.2555, allocations: 32.5 kB / 457.9 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.789e-05/0.2556, allocations: 71.03 kB / 458 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.028e-05/0.2557, allocations: 86 kB / 458.1 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.2567, allocations: 0.6415 MB / 458.7 MB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/0.2567, allocations: 131.1 kB / 458.9 MB, free: 85.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2579, allocations: 402 kB / 459.3 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.2581, allocations: 169.2 kB / 459.4 MB, free: 85.14 MB / 410.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.0007531/0.2588, allocations: 414 kB / 459.8 MB, free: 84.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.2589, allocations: 173.5 kB / 460 MB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.2591, allocations: 157 kB / 460.1 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.2591, allocations: 8.562 kB / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2591, allocations: 6.219 kB / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2591, allocations: 0 / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.2617, allocations: 2.134 MB / 462.3 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2617, allocations: 10.31 kB / 462.3 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2619, allocations: 87.05 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.2619, allocations: 12.81 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2619, allocations: 16.56 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2619, allocations: 10.44 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2619, allocations: 14.08 kB / 462.4 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.2625, allocations: 0.8336 MB / 463.3 MB, free: 83.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.2626, allocations: 150.2 kB / 463.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.2627, allocations: 22.02 kB / 463.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.2629, allocations: 15.92 kB / 463.5 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.2629, allocations: 54.12 kB / 463.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.263, allocations: 24.06 kB / 463.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005071/0.2635, allocations: 0.7296 MB / 464.3 MB, free: 83.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2635, allocations: 0 / 464.3 MB, free: 83.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001645/0.2651, allocations: 0.709 MB / 465 MB, free: 83.03 MB / 410.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.00024/0.2654, allocations: 146.3 kB / 465.1 MB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2666, allocations: 1.187 MB / 466.3 MB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.2666, allocations: 3.156 kB / 466.3 MB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2668, allocations: 184.4 kB / 466.5 MB, free: 82.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.2674, allocations: 187 kB / 466.7 MB, free: 82.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.273, allocations: 4.344 MB / 471 MB, free: 80.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.2736, allocations: 0.7582 MB / 471.8 MB, free: 79.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006161/0.2742, allocations: 245.1 kB / 472 MB, free: 79.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.2745, allocations: 299.3 kB / 472.3 MB, free: 79.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2745, allocations: 0 / 472.3 MB, free: 79.71 MB / 410.7 MB Notification: Performance of Templates: time 0.02684/0.3014, allocations: 12.49 MB / 484.8 MB, free: 78.2 MB / 410.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 -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.761474289931357]