Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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.001703/0.001703, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00207/0.00207, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.04712/0.04712, allocations: 8.119 MB / 321.3 MB, free: 11.08 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_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 60.05 kB / 447.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 55.23 MB / 0.4908 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.00704/0.1171, allocations: 5.017 MB / 0.4957 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.121, allocations: 1.865 MB / 0.4975 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.1215, allocations: 23.94 kB / 0.4975 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1226, allocations: 426.1 kB / 0.4979 GB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.1242, allocations: 0.7081 MB / 0.4986 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1244, allocations: 95.77 kB / 0.4987 GB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.1263, allocations: 1.51 MB / 0.5002 GB, free: 52 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.1268, allocations: 361.5 kB / 0.5005 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.1274, allocations: 0.4979 MB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1284, allocations: 0.7783 MB / 0.5018 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1285, allocations: 80 kB / 0.5019 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.1292, allocations: 299.5 kB / 0.5021 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006749/0.1298, allocations: 0.7202 MB / 0.5028 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.1305, allocations: 0.5853 MB / 0.5034 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.1337, allocations: 2.761 MB / 0.5061 GB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1337, allocations: 0 / 0.5061 GB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1337, allocations: 0 / 0.5061 GB, free: 9.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.299e-05/0.1338, allocations: 4 kB / 0.5061 GB, free: 9.941 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003715/0.1375, allocations: 2.095 MB / 0.5082 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1376, allocations: 11.89 kB / 0.5082 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.1424, allocations: 1.497 MB / 0.5096 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.1441, allocations: 0.8141 MB / 0.5104 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.1442, allocations: 85.97 kB / 0.5105 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006606/0.1448, allocations: 239.8 kB / 0.5107 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2309/0.3758, allocations: 5.04 MB / 0.5157 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.3759, allocations: 31.5 kB / 0.5157 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005304/0.3764, allocations: 67.11 kB / 0.5158 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/0.3784, allocations: 1.154 MB / 0.5169 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.3866, allocations: 4.279 MB / 0.5211 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.407, allocations: 19.53 MB / 0.5401 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.4084, allocations: 0.8218 MB / 0.5409 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.409, allocations: 413.2 kB / 0.5413 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.409, allocations: 10.14 kB / 0.5413 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.409, allocations: 46.14 kB / 0.5414 GB, free: 9.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.967e-06/0.409, allocations: 0 / 0.5414 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006132/0.4152, allocations: 3.986 MB / 0.5453 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4152, allocations: 137.8 kB / 0.5454 GB, free: 7.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.4178, allocations: 2.293 MB / 0.5477 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.4179, allocations: 40.69 kB / 0.5477 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/0.4186, allocations: 1.857 MB / 0.5495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.4189, allocations: 470.6 kB / 0.55 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008278/0.4197, allocations: 0.833 MB / 0.5508 GB, free: 4.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.4198, allocations: 330.6 kB / 0.5511 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4214, allocations: 1.277 MB / 0.5523 GB, free: 3.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.424, allocations: 3.902 MB / 0.5561 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006473/0.4304, allocations: 5.664 MB / 0.5617 GB, free: 9.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-05/0.4305, allocations: 24 kB / 0.5617 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008979/0.4395, allocations: 4.949 MB / 0.5665 GB, free: 4.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.4396, allocations: 48.94 kB / 0.5666 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001063/0.4406, allocations: 0.7667 MB / 0.5673 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.4408, allocations: 120 kB / 0.5674 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.4435, allocations: 0.9474 MB / 0.5684 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001576/0.4437, allocations: 183.3 kB / 0.5685 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.446, allocations: 223.6 kB / 0.5687 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.4464, allocations: 254 kB / 0.569 GB, free: 2.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001757/0.4481, allocations: 1.204 MB / 0.5702 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.4485, allocations: 186.7 kB / 0.5703 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.4489, allocations: 245.2 kB / 0.5706 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001008/0.4499, allocations: 0.7149 MB / 0.5713 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4499, allocations: 4 kB / 0.5713 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.45, allocations: 11.92 kB / 0.5713 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/0.4554, allocations: 2.745 MB / 0.574 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.4554, allocations: 8.75 kB / 0.574 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.4559, allocations: 159.8 kB / 0.5741 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/0.4559, allocations: 23.94 kB / 0.5742 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.456, allocations: 31.98 kB / 0.5742 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/0.456, allocations: 17.06 kB / 0.5742 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.456, allocations: 15.94 kB / 0.5742 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.4582, allocations: 1.698 MB / 0.5759 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.4587, allocations: 178.6 kB / 0.576 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.4589, allocations: 28.31 kB / 0.5761 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.4595, allocations: 51.88 kB / 0.5761 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4596, allocations: 87.64 kB / 0.5762 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.4597, allocations: 40 kB / 0.5762 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.4615, allocations: 1.288 MB / 0.5775 GB, free: 9.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4615, allocations: 0 / 0.5775 GB, free: 9.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002956/0.4644, allocations: 0.5038 MB / 0.578 GB, free: 8.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.0004/0.4648, allocations: 190.7 kB / 0.5782 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004293/0.4691, allocations: 2.681 MB / 0.5808 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4691, allocations: 0 / 0.5808 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.4698, allocations: 0.5011 MB / 0.5813 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.4711, allocations: 188 kB / 0.5815 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.4787, allocations: 4.88 MB / 0.5862 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.4805, allocations: 1.341 MB / 0.5875 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.481, allocations: 171.4 kB / 0.5877 GB, free: 14.79 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.481, allocations: 0 / 0.5877 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Templates: time 0.04885/0.5298, allocations: 30.26 MB / 0.6172 GB, free: 0.5898 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.93605488492176] Failed to read output from testmodel.py, exit status != 0: 0.538321113679558 0.554068531 0.41712383700000005 Calling exit ...