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.0007965/0.0007965, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000852/0.000852, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8528/0.8528, allocations: 177.1 MB / 203.5 MB, free: 5.445 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.02618/0.02618, allocations: 6.194 MB / 266.1 MB, free: 7.184 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.062e-06/1.062e-06, allocations: 0 / 392.3 MB, free: 5.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.907e-05, allocations: 14.16 kB / 392.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004048/0.004067, allocations: 5.034 MB / 397.3 MB, free: 68 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.006507, allocations: 1.9 MB / 399.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.006722, allocations: 23.94 kB / 399.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.007448, allocations: 441.8 kB / 399.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.008282, allocations: 0.7542 MB / 400.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.008424, allocations: 115.5 kB / 400.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.009519, allocations: 1.595 MB / 402.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.009794, allocations: 373.5 kB / 402.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.01034, allocations: 0.7597 MB / 403.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.01098, allocations: 0.8143 MB / 404.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.01107, allocations: 92 kB / 404.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.01142, allocations: 331.3 kB / 404.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.01178, allocations: 0.7359 MB / 405.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.01207, allocations: 446.1 kB / 405.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.0137, allocations: 2.744 MB / 408.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.0137, allocations: 4 kB / 408.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.0137, allocations: 0 / 408.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.01373, allocations: 0 / 408.4 MB, free: 4.934 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.001939/0.01567, allocations: 2.072 MB / 410.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.0157, allocations: 8.031 kB / 410.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.01904, allocations: 1.77 MB / 412.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.02001, allocations: 0.8409 MB / 413.1 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.02006, allocations: 78.38 kB / 413.2 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1567/0.1767, allocations: 112.6 kB / 413.3 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005199/0.1819, allocations: 5.113 MB / 418.4 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.182, allocations: 22 kB / 418.4 MB, free: 28.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.1821, allocations: 59.2 kB / 418.5 MB, free: 28.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001432/0.1835, allocations: 1.244 MB / 419.7 MB, free: 28.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.1883, allocations: 4.484 MB / 424.2 MB, free: 27.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009529/0.1978, allocations: 19.5 MB / 443.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1989, allocations: 1.145 MB / 444.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.1994, allocations: 0.6903 MB / 445.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.9e-05/0.1995, allocations: 18.23 kB / 445.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.1995, allocations: 42.5 kB / 445.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.114e-06/0.1995, allocations: 3.625 kB / 445.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.02842/0.2279, allocations: 12.48 MB / 458.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.228, allocations: 136.5 kB / 458.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.2302, allocations: 2.293 MB / 460.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.2303, allocations: 37.7 kB / 460.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000822/0.2311, allocations: 1.799 MB / 462.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.2314, allocations: 405 kB / 462.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006386/0.232, allocations: 0.7981 MB / 463.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.2321, allocations: 330 kB / 463.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.2335, allocations: 1.351 MB / 465.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.236, allocations: 3.957 MB / 469.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.2406, allocations: 5.682 MB / 474.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-05/0.2406, allocations: 30.81 kB / 474.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03162/0.2723, allocations: 14.6 MB / 489.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.2723, allocations: 44 kB / 489.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/0.2724, allocations: 92 kB / 489.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.2747, allocations: 1.452 MB / 491.1 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.2763, allocations: 0.8694 MB / 491.9 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.2779, allocations: 1.902 MB / 493.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.28, allocations: 0.5832 MB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.2802, allocations: 252 kB / 494.7 MB, free: 6.289 MB / 378.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.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 (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.0012/0.2814, allocations: 1.171 MB / 495.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.2816, allocations: 182.7 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.2841, allocations: 1.85 MB / 497.9 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002997/0.2844, allocations: 123.8 kB / 498 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2844, allocations: 3.938 kB / 498 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2845, allocations: 7.922 kB / 498 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.2889, allocations: 3.409 MB / 0.4897 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2889, allocations: 2.625 kB / 0.4897 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2891, allocations: 83.89 kB / 0.4897 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.2912, allocations: 1.343 MB / 0.491 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.2912, allocations: 15.94 kB / 0.4911 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.2927, allocations: 1.747 MB / 0.4928 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2927, allocations: 0 / 0.4928 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.2949, allocations: 2.262 MB / 0.495 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.2952, allocations: 306.5 kB / 0.4953 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.2953, allocations: 12 kB / 0.4953 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.2957, allocations: 75.75 kB / 0.4953 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.2958, allocations: 35.94 kB / 0.4954 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.2958, allocations: 27.98 kB / 0.4954 GB, free: 9.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.297, allocations: 1.288 MB / 0.4967 GB, free: 8.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.297, allocations: 288 / 0.4967 GB, free: 8.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001753/0.2987, allocations: 0.6005 MB / 0.4973 GB, free: 7.613 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.0003049/0.299, allocations: 182.9 kB / 0.4974 GB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.302, allocations: 2.964 MB / 0.5003 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.302, allocations: 0 / 0.5003 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.3028, allocations: 0.6996 MB / 0.501 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.3035, allocations: 172.2 kB / 0.5012 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.3081, allocations: 4.645 MB / 0.5057 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/0.3091, allocations: 1.273 MB / 0.507 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.3093, allocations: 164.5 kB / 0.5071 GB, free: 13.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3093, allocations: 0 / 0.5071 GB, free: 13.45 MB / 410.7 MB Notification: Performance of Templates: time 0.03285/0.3422, allocations: 40.09 MB / 0.5463 GB, free: 5.398 MB / 442.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=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9315072279423475] Failed to read output from testmodel.py, exit status != 0: 0.3476053886115551 0.35576213300000004 0.34049681400000004 Calling exit ...