Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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.001441/0.001441, allocations: 75.17 kB / 19.16 MB, free: 2.57 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.00165/0.00165, allocations: 172.2 kB / 22.44 MB, free: 5.32 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.424/1.424, allocations: 177.2 MB / 202.8 MB, free: 9.203 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.04412/0.04412, allocations: 6.199 MB / 265.4 MB, free: 10.81 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.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 67.91 kB / 391.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1269, allocations: 55.21 MB / 446.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.2098/0.3367, allocations: 4.971 MB / 451.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.3414, allocations: 1.933 MB / 453.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.3421, allocations: 22.97 kB / 453.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3435, allocations: 447.4 kB / 454.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.3456, allocations: 0.7201 MB / 454.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.3461, allocations: 129.5 kB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.3486, allocations: 1.516 MB / 456.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.3492, allocations: 352.9 kB / 456.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3504, allocations: 0.701 MB / 457.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.3518, allocations: 0.7768 MB / 458.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.352, allocations: 80.06 kB / 458.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.353, allocations: 335.2 kB / 458.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008579/0.3539, allocations: 0.7205 MB / 459.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.3547, allocations: 0.5965 MB / 460.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.3597, allocations: 2.865 MB / 463 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3597, allocations: 0.75 kB / 463 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3597, allocations: 0 / 463 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.305e-05/0.3598, allocations: 0 / 463 MB, free: 10.62 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.005088/0.3649, allocations: 2.119 MB / 465.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3649, allocations: 17.64 kB / 465.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007907/0.3728, allocations: 1.505 MB / 466.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.3754, allocations: 0.8155 MB / 467.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.3755, allocations: 83.89 kB / 467.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.3765, allocations: 253 kB / 467.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3869, allocations: 5.048 MB / 472.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.758e-05/0.387, allocations: 30.5 kB / 472.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/0.3873, allocations: 58.97 kB / 472.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002621/0.39, allocations: 1.153 MB / 474.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.4003, allocations: 4.301 MB / 478.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.4236, allocations: 19.61 MB / 498 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.4255, allocations: 0.8383 MB / 498.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.4261, allocations: 419.2 kB / 499.2 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.4261, allocations: 4 kB / 499.2 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.258e-05/0.4262, allocations: 38.56 kB / 499.3 MB, free: 13.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 4.318e-06/0.4262, allocations: 0 / 499.3 MB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01282/0.4391, allocations: 4.485 MB / 0.4919 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.4392, allocations: 140.8 kB / 0.4921 GB, free: 8.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/0.4426, allocations: 2.289 MB / 0.4943 GB, free: 6.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4427, allocations: 45.69 kB / 0.4944 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.4441, allocations: 1.851 MB / 0.4962 GB, free: 4.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.4446, allocations: 484.3 kB / 0.4966 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.4459, allocations: 0.8299 MB / 0.4974 GB, free: 3.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.4461, allocations: 330 kB / 0.4978 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.4482, allocations: 1.312 MB / 0.499 GB, free: 1.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005074/0.4533, allocations: 3.923 MB / 0.5029 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/0.4613, allocations: 5.71 MB / 0.5084 GB, free: 5.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.4615, allocations: 28 kB / 0.5085 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009482/0.4709, allocations: 5.018 MB / 0.5134 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.471, allocations: 48 kB / 0.5134 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001297/0.4723, allocations: 0.8444 MB / 0.5142 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.4724, allocations: 120 kB / 0.5144 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.4756, allocations: 0.9513 MB / 0.5153 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001678/0.4757, allocations: 183.3 kB / 0.5155 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.478, allocations: 227.6 kB / 0.5157 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.4784, allocations: 253.8 kB / 0.5159 GB, free: 13.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001922/0.4803, allocations: 1.206 MB / 0.5171 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.4807, allocations: 186.8 kB / 0.5173 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.4812, allocations: 248.8 kB / 0.5175 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001223/0.4824, allocations: 0.7869 MB / 0.5183 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4824, allocations: 4 kB / 0.5183 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4824, allocations: 7.969 kB / 0.5183 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/0.4882, allocations: 2.9 MB / 0.5211 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4882, allocations: 4 kB / 0.5211 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.4891, allocations: 175.7 kB / 0.5213 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.4891, allocations: 8 kB / 0.5213 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.4891, allocations: 28.42 kB / 0.5213 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.4892, allocations: 14.19 kB / 0.5213 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.4892, allocations: 7.938 kB / 0.5213 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.4915, allocations: 1.767 MB / 0.5231 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/0.4922, allocations: 286.8 kB / 0.5233 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.4924, allocations: 23.98 kB / 0.5234 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.4931, allocations: 51.94 kB / 0.5234 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4932, allocations: 75.7 kB / 0.5235 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.4933, allocations: 43.97 kB / 0.5235 GB, free: 5.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002009/0.4953, allocations: 1.288 MB / 0.5248 GB, free: 4.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4953, allocations: 0 / 0.5248 GB, free: 4.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002853/0.4982, allocations: 0.5194 MB / 0.5253 GB, free: 4 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003976/0.4986, allocations: 190.7 kB / 0.5255 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004547/0.5031, allocations: 2.813 MB / 0.5282 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5031, allocations: 4 kB / 0.5282 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.504, allocations: 0.5814 MB / 0.5288 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5053, allocations: 164.3 kB / 0.529 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.5132, allocations: 4.63 MB / 0.5335 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.5151, allocations: 1.343 MB / 0.5348 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003041/0.5181, allocations: 1.421 MB / 0.5362 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.5185, allocations: 140.5 kB / 0.5363 GB, free: 8.609 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5185, allocations: 0 / 0.5363 GB, free: 8.609 MB / 446.1 MB Notification: Performance of Templates: time 0.03251/0.551, allocations: 14.03 MB / 0.55 GB, free: 10.84 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420796222984791] Failed to read output from testmodel.py, exit status != 0: 0.5623727086931467 0.5762438670000001 0.21314339100000002 Calling exit ...