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.001769/0.001769, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002137/0.002137, allocations: 212 kB / 20.13 MB, free: 2.949 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.647/1.647, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04863/0.04863, allocations: 8.099 MB / 317.7 MB, free: 460 kB / 238.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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.41 kB / 441.6 MB, free: 39.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 55.21 MB / 496.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006182/0.1361, allocations: 5.629 MB / 0.4907 GB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.1406, allocations: 2.045 MB / 0.4927 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007866/0.1414, allocations: 23.94 kB / 0.4927 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.1425, allocations: 445.9 kB / 0.4931 GB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1444, allocations: 0.7158 MB / 0.4938 GB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1447, allocations: 111.7 kB / 0.494 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1469, allocations: 1.559 MB / 0.4955 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.1474, allocations: 270.2 kB / 0.4957 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007583/0.1482, allocations: 0.5213 MB / 0.4962 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1493, allocations: 0.8563 MB / 0.4971 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.1495, allocations: 88 kB / 0.4972 GB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008411/0.1504, allocations: 415.3 kB / 0.4976 GB, free: 11.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.1511, allocations: 0.7242 MB / 0.4983 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009035/0.152, allocations: 0.8729 MB / 0.4991 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.1558, allocations: 2.831 MB / 0.5019 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.1558, allocations: 0 / 0.5019 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1558, allocations: 0 / 0.5019 GB, free: 7.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.078e-05/0.1558, allocations: 0 / 0.5019 GB, free: 7.383 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.004642/0.1605, allocations: 2.174 MB / 0.504 GB, free: 5.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.1605, allocations: 12.03 kB / 0.504 GB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.716e-05/0.1606, allocations: 42.28 kB / 0.5041 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004485/0.1611, allocations: 369.3 kB / 0.5044 GB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.1683, allocations: 1.743 MB / 0.5061 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.1703, allocations: 0.8976 MB / 0.507 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.1704, allocations: 82 kB / 0.5071 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.1706, allocations: 103.9 kB / 0.5072 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007855/0.1785, allocations: 5.114 MB / 0.5122 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.1785, allocations: 23.81 kB / 0.5122 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.1787, allocations: 59.91 kB / 0.5122 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.1813, allocations: 1.24 MB / 0.5135 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/0.1893, allocations: 4.499 MB / 0.5178 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02493/0.2142, allocations: 20.65 MB / 0.538 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.2167, allocations: 1.599 MB / 0.5396 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2179, allocations: 0.6904 MB / 0.5402 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.2181, allocations: 97.03 kB / 0.5403 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2181, allocations: 42.5 kB / 0.5404 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.397e-06/0.2181, allocations: 0 / 0.5404 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.06719/0.2853, allocations: 12.55 MB / 0.5526 GB, free: 1.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.2854, allocations: 144.6 kB / 0.5528 GB, free: 1.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/0.2894, allocations: 2.405 MB / 0.5551 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.2896, allocations: 37.7 kB / 0.5552 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.2911, allocations: 1.804 MB / 0.5569 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.2917, allocations: 409 kB / 0.5573 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.293, allocations: 0.8099 MB / 0.5581 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.2932, allocations: 357.9 kB / 0.5584 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.2959, allocations: 1.343 MB / 0.5598 GB, free: 10.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/0.301, allocations: 3.953 MB / 0.5636 GB, free: 5.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/0.3098, allocations: 5.693 MB / 0.5692 GB, free: 14.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.3099, allocations: 27.94 kB / 0.5692 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.3716/0.6815, allocations: 14.6 MB / 0.5835 GB, free: 89.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.6816, allocations: 44.97 kB / 0.5835 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.6818, allocations: 96.5 kB / 0.5836 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/0.6867, allocations: 1.458 MB / 0.585 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.6893, allocations: 0.8689 MB / 0.5859 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.6921, allocations: 1.908 MB / 0.5877 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.6956, allocations: 0.6052 MB / 0.5883 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007412/0.6964, allocations: 253.2 kB / 0.5886 GB, free: 88.68 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.00222/0.6986, allocations: 1.162 MB / 0.5897 GB, free: 88.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.6993, allocations: 202.2 kB / 0.5899 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/0.7047, allocations: 1.878 MB / 0.5917 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007282/0.7055, allocations: 121.7 kB / 0.5918 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7055, allocations: 1.594 kB / 0.5918 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.7055, allocations: 4.922 kB / 0.5918 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008948/0.7144, allocations: 3.828 MB / 0.5956 GB, free: 87.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.7144, allocations: 5.984 kB / 0.5956 GB, free: 87.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.7148, allocations: 84 kB / 0.5957 GB, free: 87.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003799/0.7186, allocations: 1.346 MB / 0.597 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.7188, allocations: 19.28 kB / 0.597 GB, free: 86.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.7208, allocations: 1.728 MB / 0.5987 GB, free: 86.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7208, allocations: 4.062 kB / 0.5987 GB, free: 86.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/0.7243, allocations: 2.295 MB / 0.6009 GB, free: 84.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/0.7252, allocations: 398.1 kB / 0.6013 GB, free: 84.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.7254, allocations: 18.09 kB / 0.6013 GB, free: 84.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.7262, allocations: 67.52 kB / 0.6014 GB, free: 84.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.7263, allocations: 34.98 kB / 0.6014 GB, free: 84.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.7264, allocations: 31.7 kB / 0.6015 GB, free: 84.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.7283, allocations: 1.476 MB / 0.6029 GB, free: 83.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7283, allocations: 0 / 0.6029 GB, free: 83.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003063/0.7313, allocations: 0.5776 MB / 0.6035 GB, free: 83.2 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.003752/0.7351, allocations: 2.947 MB / 0.6063 GB, free: 80.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004555/0.7397, allocations: 2.949 MB / 0.6092 GB, free: 77.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7397, allocations: 4 kB / 0.6092 GB, free: 77.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7408, allocations: 0.7118 MB / 0.6099 GB, free: 76.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.7422, allocations: 191.2 kB / 0.6101 GB, free: 76.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1419/0.8841, allocations: 45.03 MB / 0.6541 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.8854, allocations: 1.855 MB / 0.6559 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002286/0.8877, allocations: 1.27 MB / 0.6571 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/0.8885, allocations: 0.7844 MB / 0.6579 GB, free: 24.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.8885, allocations: 0 / 0.6579 GB, free: 24.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/0.9557, allocations: 41.16 MB / 0.6981 GB, free: 15.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.33, allocations: 14.39 kB / 0.6981 GB, free: 15.45 MB / 478.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation_fmu --startTime=0 --stopTime=6.2 --stepSize=0.00248 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.527105860004667] Failed to read output from testmodel.py, exit status != 0: 17.504455365007743 17.515815276 17.357272362 Calling exit ...