Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.02656/0.02656, allocations: 6.207 MB / 266.5 MB, free: 6.938 MB / 250.7 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 338.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.377e-05, allocations: 2.312 kB / 338.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004449/0.004463, allocations: 5.355 MB / 343.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.006649, allocations: 1.959 MB / 345.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.006877, allocations: 23.88 kB / 345.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.007562, allocations: 445.8 kB / 345.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009865/0.008548, allocations: 0.762 MB / 346.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.008691, allocations: 111.6 kB / 346.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009857/0.009677, allocations: 1.6 MB / 348.3 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.009938, allocations: 373.5 kB / 348.7 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.01048, allocations: 0.7635 MB / 349.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.01108, allocations: 0.8143 MB / 350.3 MB, free: 252 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01119, allocations: 92 kB / 350.3 MB, free: 160 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.01156, allocations: 323.4 kB / 350.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.01193, allocations: 0.7399 MB / 351.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.0122, allocations: 450.1 kB / 351.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.01348, allocations: 1.844 MB / 353.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01348, allocations: 0 / 353.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01348, allocations: 4 kB / 353.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.01349, allocations: 0 / 353.7 MB, free: 12.8 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.001745/0.01524, allocations: 2.313 MB / 356 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.01527, allocations: 8.031 kB / 356 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.01765, allocations: 0.8813 MB / 356.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.01832, allocations: 0.7525 MB / 357.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.01836, allocations: 78.38 kB / 357.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.0185, allocations: 115.8 kB / 357.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.02079, allocations: 2.96 MB / 360.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.02081, allocations: 23.81 kB / 360.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.02093, allocations: 63.89 kB / 360.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.02193, allocations: 1.01 MB / 361.9 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.02341, allocations: 1.339 MB / 363.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.03414, allocations: 24.39 MB / 387.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.03471, allocations: 0.5327 MB / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.03496, allocations: 290.7 kB / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/0.03501, allocations: 19.94 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.03504, allocations: 41.5 kB / 388.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 2.154e-06/0.03504, allocations: 3.938 kB / 388.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.01946/0.0545, allocations: 2.366 MB / 390.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.05454, allocations: 132.5 kB / 391 MB, free: 5.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.05605, allocations: 2.159 MB / 393.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.05609, allocations: 37.7 kB / 393.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007773/0.05687, allocations: 1.963 MB / 395.2 MB, free: 1.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.05709, allocations: 421 kB / 395.6 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006449/0.05774, allocations: 0.8921 MB / 396.5 MB, free: 176 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.05798, allocations: 0.5081 MB / 397 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.05839, allocations: 399.6 kB / 397.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.06023, allocations: 4.284 MB / 401.6 MB, free: 9.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.06313, allocations: 5.203 MB / 406.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.06315, allocations: 24 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01981/0.08297, allocations: 4.324 MB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.08301, allocations: 45 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.077e-05/0.08307, allocations: 92 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.08453, allocations: 0.7762 MB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.08568, allocations: 0.8616 MB / 413 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007719/0.08646, allocations: 1.263 MB / 414.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.08766, allocations: 0.5273 MB / 414.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.08799, allocations: 220 kB / 415 MB, free: 10.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 12 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 471 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004802/0.08847, allocations: 498.8 kB / 415.5 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.08865, allocations: 202.7 kB / 415.7 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.09008, allocations: 0.9418 MB / 416.6 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000206/0.09028, allocations: 31.98 kB / 416.6 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.09029, allocations: 4 kB / 416.6 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.09029, allocations: 3.984 kB / 416.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.09325, allocations: 2.116 MB / 418.7 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.09325, allocations: 8 kB / 418.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.09342, allocations: 75.84 kB / 418.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.09476, allocations: 0.6473 MB / 419.5 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.0948, allocations: 19.92 kB / 419.5 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/0.09544, allocations: 1.089 MB / 420.6 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.09544, allocations: 4 kB / 420.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.09669, allocations: 1.461 MB / 422.1 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.09695, allocations: 250.5 kB / 422.3 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.09704, allocations: 12 kB / 422.3 MB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.09735, allocations: 12 kB / 422.3 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.0974, allocations: 47.84 kB / 422.4 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.09744, allocations: 23.98 kB / 422.4 MB, free: 2.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005818/0.09802, allocations: 0.8307 MB / 423.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09802, allocations: 0 / 423.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001432/0.09946, allocations: 0.6121 MB / 423.8 MB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (53): * Single equations (assignments): 48 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.09971, allocations: 174.9 kB / 424 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1013, allocations: 1.82 MB / 425.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1013, allocations: 0 / 425.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.1017, allocations: 347.1 kB / 426.2 MB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.1023, allocations: 179.9 kB / 426.3 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.1056, allocations: 3.393 MB / 429.7 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.106, allocations: 0.5761 MB / 430.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.1065, allocations: 286.3 kB / 430.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.1068, allocations: 326.1 kB / 430.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1068, allocations: 4 kB / 430.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of Templates: time 0.118/0.2248, allocations: 20.77 MB / 451.7 MB, free: 132.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.146828220691532]