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.001742/0.001742, allocations: 111.2 kB / 18.94 MB, free: 2.961 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.002682/0.002682, allocations: 213.4 kB / 22.25 MB, free: 5.133 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.584/1.584, allocations: 230.3 MB / 255.7 MB, free: 8.219 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.0485/0.0485, allocations: 8.093 MB / 320.2 MB, free: 11.43 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.003387/0.003387, allocations: 79.86 kB / 446.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.127, allocations: 55.24 MB / 0.4898 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007778/0.1348, allocations: 5.665 MB / 0.4953 GB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.1399, allocations: 2.045 MB / 0.4973 GB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.1411, allocations: 23.94 kB / 0.4974 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.1425, allocations: 449.9 kB / 0.4978 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.1448, allocations: 0.7275 MB / 0.4985 GB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1451, allocations: 115.7 kB / 0.4986 GB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.1477, allocations: 1.564 MB / 0.5001 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.1485, allocations: 246.4 kB / 0.5004 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1496, allocations: 0.5252 MB / 0.5009 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1509, allocations: 0.8524 MB / 0.5017 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.1512, allocations: 95.98 kB / 0.5018 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.1521, allocations: 407.3 kB / 0.5022 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008152/0.1529, allocations: 0.7241 MB / 0.5029 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009372/0.1539, allocations: 0.869 MB / 0.5038 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.1576, allocations: 2.835 MB / 0.5065 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1576, allocations: 3.938 kB / 0.5065 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1576, allocations: 4 kB / 0.5065 GB, free: 9.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.285e-05/0.1577, allocations: 0 / 0.5065 GB, free: 9.242 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.003895/0.1616, allocations: 2.095 MB / 0.5086 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1617, allocations: 12.03 kB / 0.5086 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.1689, allocations: 1.746 MB / 0.5103 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.1711, allocations: 0.8375 MB / 0.5111 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.1712, allocations: 86 kB / 0.5112 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.1715, allocations: 99.91 kB / 0.5113 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2213/0.3927, allocations: 5.112 MB / 0.5163 GB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.3928, allocations: 20.56 kB / 0.5163 GB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.393, allocations: 61.75 kB / 0.5164 GB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/0.3954, allocations: 1.245 MB / 0.5176 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007005/0.4024, allocations: 4.486 MB / 0.522 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.4218, allocations: 20.57 MB / 0.542 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.4237, allocations: 1.142 MB / 0.5432 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.4248, allocations: 0.7048 MB / 0.5439 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/0.4249, allocations: 15.94 kB / 0.5439 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4249, allocations: 41.39 kB / 0.5439 GB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.4249, allocations: 4 kB / 0.5439 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06211/0.487, allocations: 12.49 MB / 0.5561 GB, free: 2.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4871, allocations: 136.5 kB / 0.5562 GB, free: 2.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.4897, allocations: 2.41 MB / 0.5586 GB, free: 324 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.4899, allocations: 37.53 kB / 0.5586 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.4912, allocations: 1.806 MB / 0.5604 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/0.4917, allocations: 413.3 kB / 0.5608 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.4929, allocations: 0.8097 MB / 0.5616 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4931, allocations: 357.9 kB / 0.5619 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.4954, allocations: 1.347 MB / 0.5632 GB, free: 11.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.4999, allocations: 3.953 MB / 0.5671 GB, free: 6.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/0.508, allocations: 5.686 MB / 0.5726 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.5081, allocations: 28 kB / 0.5727 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06985/0.5779, allocations: 14.6 MB / 0.5869 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.578, allocations: 46.19 kB / 0.587 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.5781, allocations: 92 kB / 0.5871 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/0.5829, allocations: 1.449 MB / 0.5885 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.5855, allocations: 0.8772 MB / 0.5893 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.5887, allocations: 1.901 MB / 0.5912 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.5921, allocations: 0.6128 MB / 0.5918 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.5926, allocations: 260 kB / 0.592 GB, free: 11.5 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.001816/0.5944, allocations: 1.163 MB / 0.5932 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.5949, allocations: 198.6 kB / 0.5934 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.6001, allocations: 1.866 MB / 0.5952 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007227/0.6008, allocations: 131.8 kB / 0.5953 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6008, allocations: 3.938 kB / 0.5953 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.6008, allocations: 3.984 kB / 0.5953 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.6107, allocations: 3.799 MB / 0.599 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6107, allocations: 0 / 0.599 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.6111, allocations: 99.81 kB / 0.5991 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004411/0.6155, allocations: 1.339 MB / 0.6004 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.6156, allocations: 14.23 kB / 0.6004 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/0.6184, allocations: 1.739 MB / 0.6021 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.6184, allocations: 4.031 kB / 0.6021 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.6225, allocations: 2.29 MB / 0.6044 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009735/0.6235, allocations: 326.3 kB / 0.6047 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.6237, allocations: 15.94 kB / 0.6047 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.6246, allocations: 71.88 kB / 0.6048 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.6247, allocations: 39.94 kB / 0.6048 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.6248, allocations: 27.98 kB / 0.6048 GB, free: 14.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002252/0.627, allocations: 1.482 MB / 0.6063 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.627, allocations: 0 / 0.6063 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002736/0.6298, allocations: 0.5773 MB / 0.6068 GB, free: 12.18 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.0004366/0.6302, allocations: 178.9 kB / 0.607 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005443/0.6357, allocations: 2.95 MB / 0.6099 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6357, allocations: 0 / 0.6099 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.6372, allocations: 0.7079 MB / 0.6106 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6384, allocations: 196.9 kB / 0.6108 GB, free: 8.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/0.6459, allocations: 4.466 MB / 0.6151 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.6479, allocations: 1.853 MB / 0.617 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002849/0.6507, allocations: 1.265 MB / 0.6182 GB, free: 0.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.6511, allocations: 135.4 kB / 0.6183 GB, free: 376 kB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6511, allocations: 4 kB / 0.6183 GB, free: 372 kB / 446.1 MB Notification: Performance of Templates: time 0.05014/0.7012, allocations: 26.78 MB / 0.6445 GB, free: 5.59 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.052692385390401] Failed to read output from testmodel.py, exit status != 0: 0.7106120781973004 0.724965083 0.5639632459999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd6925dd7b0>