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.001921/0.001921, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.002558/0.002558, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.505/1.505, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.04445/0.04445, allocations: 6.196 MB / 266 MB, free: 10.75 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.002068/0.002068, allocations: 67.89 kB / 392 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1347, allocations: 55.22 MB / 447.2 MB, free: 4.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007515/0.1422, allocations: 5.04 MB / 452.3 MB, free: 15.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.1469, allocations: 1.908 MB / 454.2 MB, free: 13.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.1475, allocations: 27.94 kB / 454.2 MB, free: 13.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.1487, allocations: 422.1 kB / 454.6 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.1505, allocations: 0.7289 MB / 455.3 MB, free: 12.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1509, allocations: 115.7 kB / 455.5 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1531, allocations: 1.555 MB / 457 MB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006144/0.1537, allocations: 381.5 kB / 457.4 MB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000822/0.1545, allocations: 0.5252 MB / 457.9 MB, free: 10.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.1557, allocations: 0.8329 MB / 458.7 MB, free: 9.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.156, allocations: 92 kB / 458.8 MB, free: 9.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.1567, allocations: 287.5 kB / 459.1 MB, free: 8.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.1575, allocations: 0.7202 MB / 459.8 MB, free: 8.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007012/0.1582, allocations: 0.6087 MB / 460.4 MB, free: 7.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.1617, allocations: 2.823 MB / 463.3 MB, free: 4.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1617, allocations: 0 / 463.3 MB, free: 4.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1617, allocations: 0 / 463.3 MB, free: 4.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.637e-05/0.1618, allocations: 0 / 463.3 MB, free: 4.688 MB / 430.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.004227/0.166, allocations: 2.103 MB / 465.4 MB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.166, allocations: 8.031 kB / 465.4 MB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.1733, allocations: 1.789 MB / 467.2 MB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.1756, allocations: 0.8453 MB / 468 MB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.863e-05/0.1757, allocations: 86 kB / 468.1 MB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.176, allocations: 103.9 kB / 468.2 MB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007898/0.1839, allocations: 5.11 MB / 473.3 MB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.1839, allocations: 27.81 kB / 473.3 MB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.1841, allocations: 67.89 kB / 473.4 MB, free: 10 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00274/0.1869, allocations: 1.216 MB / 474.6 MB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008441/0.1953, allocations: 4.481 MB / 479.1 MB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3366/0.5319, allocations: 19.59 MB / 498.7 MB, free: 56.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.5338, allocations: 1.13 MB / 499.8 MB, free: 55.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009691/0.5348, allocations: 0.6979 MB / 0.4888 GB, free: 55.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.57e-05/0.5349, allocations: 9.906 kB / 0.4888 GB, free: 55.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5349, allocations: 52.62 kB / 0.4888 GB, free: 55.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.5349, allocations: 0 / 0.4888 GB, free: 55.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.0595/0.5944, allocations: 12.45 MB / 0.501 GB, free: 54.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.5945, allocations: 141.4 kB / 0.5011 GB, free: 54.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.5976, allocations: 2.288 MB / 0.5034 GB, free: 53.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.5978, allocations: 36.66 kB / 0.5034 GB, free: 53.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.599, allocations: 1.83 MB / 0.5052 GB, free: 52.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.5995, allocations: 410.6 kB / 0.5056 GB, free: 51.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.6006, allocations: 0.8102 MB / 0.5064 GB, free: 51.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.6007, allocations: 329 kB / 0.5067 GB, free: 51.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.6032, allocations: 1.34 MB / 0.508 GB, free: 50.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/0.6072, allocations: 3.957 MB / 0.5119 GB, free: 46.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007192/0.6144, allocations: 5.68 MB / 0.5174 GB, free: 41.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/0.6145, allocations: 26.75 kB / 0.5174 GB, free: 41.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0673/0.6818, allocations: 14.59 MB / 0.5317 GB, free: 37.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.6819, allocations: 48.53 kB / 0.5317 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.6821, allocations: 92.78 kB / 0.5318 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/0.6864, allocations: 1.45 MB / 0.5332 GB, free: 37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.689, allocations: 0.8768 MB / 0.5341 GB, free: 36.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.6913, allocations: 1.905 MB / 0.5359 GB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.6944, allocations: 0.5832 MB / 0.5365 GB, free: 35.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/0.6948, allocations: 256.1 kB / 0.5368 GB, free: 35.17 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.001402/0.6962, allocations: 1.172 MB / 0.5379 GB, free: 34.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6965, allocations: 187.4 kB / 0.5381 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/0.7005, allocations: 1.839 MB / 0.5399 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005865/0.7011, allocations: 118 kB / 0.54 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.7011, allocations: 2.5 kB / 0.54 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7011, allocations: 11.8 kB / 0.54 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/0.7082, allocations: 3.376 MB / 0.5433 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7082, allocations: 0 / 0.5433 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.7085, allocations: 84.77 kB / 0.5434 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003693/0.7122, allocations: 1.344 MB / 0.5447 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7123, allocations: 12 kB / 0.5447 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7143, allocations: 1.748 MB / 0.5464 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7143, allocations: 0 / 0.5464 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.7174, allocations: 2.271 MB / 0.5486 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.7181, allocations: 298.5 kB / 0.5489 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.7183, allocations: 19.69 kB / 0.5489 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.719, allocations: 59.91 kB / 0.549 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.7191, allocations: 43.86 kB / 0.549 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.7192, allocations: 27.98 kB / 0.5491 GB, free: 24.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001519/0.7207, allocations: 1.288 MB / 0.5503 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7207, allocations: 1.594 kB / 0.5503 GB, free: 22.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003233/0.7239, allocations: 0.6082 MB / 0.5509 GB, free: 22.3 MB / 446.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.0004389/0.7243, allocations: 172.5 kB / 0.5511 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.7291, allocations: 2.942 MB / 0.554 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7291, allocations: 0 / 0.554 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.7302, allocations: 0.71 MB / 0.5546 GB, free: 18.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.7314, allocations: 177 kB / 0.5548 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.7376, allocations: 4.42 MB / 0.5591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.7388, allocations: 1.275 MB / 0.5604 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002199/0.741, allocations: 1.241 MB / 0.5616 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.7412, allocations: 136.4 kB / 0.5617 GB, free: 11.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7412, allocations: 4 kB / 0.5617 GB, free: 11.2 MB / 446.1 MB Notification: Performance of Templates: time 0.03571/0.7769, allocations: 19.49 MB / 0.5808 GB, free: 7.977 MB / 462.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 -s ida -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754162460099906] Failed to read output from testmodel.py, exit status != 0: 0.7865432120161131 0.801808673 0.636626567 Calling exit ...