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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 102.9 kB / 19.59 MB, free: 2.328 MB / 14.72 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.001466/0.001466, allocations: 214.7 kB / 22.87 MB, free: 5.637 MB / 14.72 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.425/1.425, allocations: 230.2 MB / 256.2 MB, free: 8.223 MB / 206.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.04841/0.04841, allocations: 8.097 MB / 320.7 MB, free: 11.44 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 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(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] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 79.86 kB / 446.7 MB, free: 1.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1015, allocations: 55.25 MB / 0.4902 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007348/0.1089, allocations: 5.63 MB / 0.4957 GB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1128, allocations: 2.037 MB / 0.4977 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.1134, allocations: 23.94 kB / 0.4977 GB, free: 2.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1145, allocations: 438 kB / 0.4982 GB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.1163, allocations: 0.7353 MB / 0.4989 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1166, allocations: 111.7 kB / 0.499 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.1187, allocations: 1.564 MB / 0.5005 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.1193, allocations: 246.4 kB / 0.5007 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009254/0.1202, allocations: 0.5213 MB / 0.5013 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1213, allocations: 0.8563 MB / 0.5021 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.1215, allocations: 92 kB / 0.5022 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.1221, allocations: 295.5 kB / 0.5025 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.1228, allocations: 0.7203 MB / 0.5032 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008941/0.1237, allocations: 0.869 MB / 0.504 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.1267, allocations: 2.808 MB / 0.5068 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1267, allocations: 0 / 0.5068 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1267, allocations: 0 / 0.5068 GB, free: 9.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.1267, allocations: 4 kB / 0.5068 GB, free: 9.508 MB / 382.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.003101/0.1298, allocations: 2.095 MB / 0.5088 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1298, allocations: 8.031 kB / 0.5088 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00644/0.1363, allocations: 1.75 MB / 0.5105 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.1378, allocations: 0.8414 MB / 0.5113 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.1379, allocations: 78 kB / 0.5114 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.1382, allocations: 107.9 kB / 0.5115 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1952/0.3334, allocations: 5.109 MB / 0.5165 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.3334, allocations: 21.22 kB / 0.5165 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.3336, allocations: 60.55 kB / 0.5166 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.336, allocations: 1.241 MB / 0.5178 GB, free: 25.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006589/0.3426, allocations: 4.487 MB / 0.5222 GB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.3596, allocations: 20.51 MB / 0.5422 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.3614, allocations: 1.147 MB / 0.5433 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009838/0.3624, allocations: 0.7096 MB / 0.544 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.904e-05/0.3625, allocations: 20.23 kB / 0.544 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3625, allocations: 41.94 kB / 0.5441 GB, free: 8.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.3625, allocations: 0 / 0.5441 GB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05954/0.4221, allocations: 12.49 MB / 0.5563 GB, free: 2.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4221, allocations: 140.9 kB / 0.5564 GB, free: 2.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.4246, allocations: 2.402 MB / 0.5588 GB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4247, allocations: 37.53 kB / 0.5588 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.426, allocations: 1.809 MB / 0.5606 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.4264, allocations: 411.5 kB / 0.5609 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.4274, allocations: 0.8099 MB / 0.5617 GB, free: 13.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4275, allocations: 353.9 kB / 0.5621 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.4297, allocations: 1.347 MB / 0.5634 GB, free: 11.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004213/0.4339, allocations: 3.949 MB / 0.5672 GB, free: 6.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007126/0.441, allocations: 5.69 MB / 0.5728 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.803e-05/0.4411, allocations: 28 kB / 0.5728 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06462/0.5057, allocations: 14.6 MB / 0.5871 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.926e-05/0.5058, allocations: 52 kB / 0.5871 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.5059, allocations: 92 kB / 0.5872 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.5104, allocations: 1.448 MB / 0.5886 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.513, allocations: 0.8655 MB / 0.5895 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.5159, allocations: 1.917 MB / 0.5914 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.5187, allocations: 0.605 MB / 0.5919 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.5191, allocations: 256 kB / 0.5922 GB, free: 11.55 MB / 430.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.001641/0.5207, allocations: 1.167 MB / 0.5933 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.521, allocations: 198.6 kB / 0.5935 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/0.526, allocations: 1.874 MB / 0.5954 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006652/0.5266, allocations: 123.8 kB / 0.5955 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.5266, allocations: 3.938 kB / 0.5955 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5267, allocations: 3.984 kB / 0.5955 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/0.5354, allocations: 3.803 MB / 0.5992 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5354, allocations: 0 / 0.5992 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.5358, allocations: 87.83 kB / 0.5993 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004279/0.5401, allocations: 1.351 MB / 0.6006 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.5402, allocations: 13.3 kB / 0.6006 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.5429, allocations: 1.742 MB / 0.6023 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5429, allocations: 0 / 0.6023 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.547, allocations: 2.29 MB / 0.6045 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008297/0.5478, allocations: 330.2 kB / 0.6049 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.5482, allocations: 15.98 kB / 0.6049 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.5491, allocations: 67.89 kB / 0.6049 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5493, allocations: 39.92 kB / 0.605 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.5494, allocations: 27.98 kB / 0.605 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00293/0.5523, allocations: 1.478 MB / 0.6064 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5523, allocations: 0 / 0.6064 GB, free: 12.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003178/0.5555, allocations: 0.5812 MB / 0.607 GB, free: 12.22 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.0004877/0.556, allocations: 182.8 kB / 0.6072 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005744/0.5617, allocations: 2.949 MB / 0.6101 GB, free: 9.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5617, allocations: 4.312 kB / 0.6101 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.5632, allocations: 0.7046 MB / 0.6108 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5646, allocations: 189.6 kB / 0.6109 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/0.5728, allocations: 4.462 MB / 0.6153 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.5749, allocations: 1.857 MB / 0.6171 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002867/0.5778, allocations: 1.272 MB / 0.6184 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.5782, allocations: 139.4 kB / 0.6185 GB, free: 412 kB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5782, allocations: 0 / 0.6185 GB, free: 412 kB / 446.1 MB Notification: Performance of Templates: time 0.04883/0.627, allocations: 26.78 MB / 0.6446 GB, free: 5.629 MB / 478.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 gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.760739552002633] Failed to read output from testmodel.py, exit status != 0: 0.6354000400024233 0.6508415670000001 0.520949886 Calling exit ...