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.001575/0.001575, allocations: 75.48 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001659/0.001659, allocations: 172 kB / 22.44 MB, free: 5.309 MB / 14.72 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 1.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.227 MB / 190.1 MB " [Timeout remaining time 178] 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.045/0.045, allocations: 6.198 MB / 265.4 MB, free: 10.83 MB / 254.1 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 0.002065/0.002065, allocations: 67.89 kB / 391.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.104, allocations: 55.21 MB / 446.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.2098/0.3138, allocations: 5.03 MB / 451.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.3175, allocations: 1.919 MB / 453.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007503/0.3182, allocations: 21.62 kB / 453.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3194, allocations: 436.5 kB / 454.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.3212, allocations: 0.7329 MB / 455 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3215, allocations: 122.1 kB / 455.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.3233, allocations: 1.561 MB / 456.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.3238, allocations: 376.6 kB / 457 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.3249, allocations: 0.7073 MB / 457.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.3261, allocations: 0.8413 MB / 458.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.3263, allocations: 91.72 kB / 458.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.327, allocations: 293 kB / 459 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.3276, allocations: 0.7188 MB / 459.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.3281, allocations: 0.61 MB / 460.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.3317, allocations: 2.926 MB / 463.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3317, allocations: 0 / 463.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3317, allocations: 1.344 kB / 463.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.464e-05/0.3317, allocations: 0 / 463.2 MB, free: 10.52 MB / 366.1 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.00367/0.3354, allocations: 2.1 MB / 465.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3354, allocations: 8.625 kB / 465.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/0.3421, allocations: 1.792 MB / 467.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.3438, allocations: 0.8387 MB / 467.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.3439, allocations: 96.27 kB / 468 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.3441, allocations: 101.9 kB / 468.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006416/0.3505, allocations: 5.106 MB / 473.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/0.3506, allocations: 24.41 kB / 473.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.3508, allocations: 62.03 kB / 473.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.3531, allocations: 1.228 MB / 474.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007862/0.361, allocations: 4.468 MB / 479 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.3861, allocations: 19.6 MB / 498.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.3884, allocations: 1.147 MB / 499.8 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3897, allocations: 0.696 MB / 0.4887 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-05/0.3898, allocations: 8 kB / 0.4887 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3899, allocations: 46.5 kB / 0.4888 GB, free: 12.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.3899, allocations: 0 / 0.4888 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.06088/0.4507, allocations: 12.45 MB / 0.501 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4509, allocations: 140.5 kB / 0.5011 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/0.4549, allocations: 2.294 MB / 0.5033 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.4551, allocations: 33.7 kB / 0.5034 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.4567, allocations: 1.835 MB / 0.5051 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.4573, allocations: 412.9 kB / 0.5055 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/0.4585, allocations: 0.8099 MB / 0.5063 GB, free: 10.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4587, allocations: 330 kB / 0.5066 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.4611, allocations: 1.339 MB / 0.508 GB, free: 8.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004806/0.4659, allocations: 3.949 MB / 0.5118 GB, free: 3.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/0.4739, allocations: 5.69 MB / 0.5174 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-05/0.474, allocations: 24 kB / 0.5174 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06254/0.5365, allocations: 14.58 MB / 0.5316 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.5366, allocations: 51.94 kB / 0.5317 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/0.5368, allocations: 96.89 kB / 0.5318 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/0.5412, allocations: 1.455 MB / 0.5332 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/0.5443, allocations: 0.8616 MB / 0.534 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.5473, allocations: 1.906 MB / 0.5359 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.5507, allocations: 0.5867 MB / 0.5365 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000686/0.5514, allocations: 251.9 kB / 0.5367 GB, free: 8.473 MB / 446.1 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.002367/0.5537, allocations: 1.165 MB / 0.5379 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.5542, allocations: 186.7 kB / 0.538 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.5591, allocations: 1.841 MB / 0.5398 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005884/0.5597, allocations: 111.8 kB / 0.5399 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5597, allocations: 0 / 0.5399 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.5598, allocations: 7.922 kB / 0.5399 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/0.5693, allocations: 3.38 MB / 0.5432 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.5693, allocations: 0 / 0.5432 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.5697, allocations: 91.83 kB / 0.5433 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004032/0.5738, allocations: 1.343 MB / 0.5446 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.5739, allocations: 15.98 kB / 0.5447 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.5766, allocations: 1.73 MB / 0.5463 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5766, allocations: 7.969 kB / 0.5464 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.5809, allocations: 2.271 MB / 0.5486 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008494/0.5818, allocations: 295.6 kB / 0.5489 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.5821, allocations: 16.27 kB / 0.5489 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.5831, allocations: 71.83 kB / 0.5489 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.5832, allocations: 39.92 kB / 0.549 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.5832, allocations: 32 kB / 0.549 GB, free: 11.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002431/0.5857, allocations: 1.288 MB / 0.5503 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5857, allocations: 0 / 0.5503 GB, free: 10.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003359/0.589, allocations: 0.6043 MB / 0.5509 GB, free: 9.844 MB / 462.1 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.0004748/0.5895, allocations: 171.5 kB / 0.551 GB, free: 9.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005828/0.5953, allocations: 2.945 MB / 0.5539 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5953, allocations: 7.938 kB / 0.5539 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.5969, allocations: 0.7082 MB / 0.5546 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.5981, allocations: 166.5 kB / 0.5547 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/0.6065, allocations: 4.437 MB / 0.5591 GB, free: 1.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.6083, allocations: 1.264 MB / 0.5603 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002645/0.6109, allocations: 1.252 MB / 0.5615 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.6112, allocations: 128.4 kB / 0.5617 GB, free: 14.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6112, allocations: 4 kB / 0.5617 GB, free: 14.69 MB / 478.1 MB Notification: Performance of Templates: time 0.03806/0.6493, allocations: 19.5 MB / 0.5807 GB, free: 11.41 MB / 494.1 MB " [Timeout remaining time 659] 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.435869824141264] Failed to read output from testmodel.py, exit status != 0: 0.6598012465983629 0.6851995989999999 0.34801681500000003 Calling exit ...