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.001737/0.001737, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001454/0.001454, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.04671/0.04671, allocations: 6.198 MB / 265.4 MB, free: 10.77 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 1.392e-06/1.392e-06, allocations: 0 / 391.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.094e-05, allocations: 2.281 kB / 391.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006896/0.006927, allocations: 4.971 MB / 396.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.01087, allocations: 1.943 MB / 398.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.01132, allocations: 27.88 kB / 398.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.0124, allocations: 425.9 kB / 398.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.01397, allocations: 0.7309 MB / 399.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.01432, allocations: 143.4 kB / 399.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.01626, allocations: 1.553 MB / 401.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.01685, allocations: 357.5 kB / 401.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.01778, allocations: 0.7362 MB / 402.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.01886, allocations: 0.7596 MB / 403.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.01903, allocations: 84 kB / 403.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007557/0.01979, allocations: 355.4 kB / 403.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000805/0.0206, allocations: 0.7398 MB / 404.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.02114, allocations: 430.2 kB / 404.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.02422, allocations: 2.685 MB / 407.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.02423, allocations: 0 / 407.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.02423, allocations: 0 / 407.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.02427, allocations: 0 / 407.4 MB, free: 10.89 MB / 334.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.003688/0.02796, allocations: 2.095 MB / 409.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.028, allocations: 15.89 kB / 409.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.03323, allocations: 1.509 MB / 411 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.03477, allocations: 0.8058 MB / 411.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.03485, allocations: 86.41 kB / 411.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/0.03556, allocations: 259.6 kB / 412.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006711/0.04227, allocations: 5.045 MB / 417.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/0.04233, allocations: 31.73 kB / 417.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.04253, allocations: 63.91 kB / 417.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001987/0.04451, allocations: 1.15 MB / 418.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/0.0518, allocations: 4.304 MB / 422.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.07416, allocations: 19.55 MB / 442.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.07573, allocations: 0.8365 MB / 443.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.07632, allocations: 408.2 kB / 443.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.07635, allocations: 12 kB / 443.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.07639, allocations: 42.5 kB / 443.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.166e-06/0.07639, allocations: 4 kB / 443.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01248/0.08887, allocations: 4.484 MB / 448.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.08898, allocations: 140.8 kB / 448.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1923/0.2813, allocations: 2.279 MB / 450.5 MB, free: 64.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.2815, allocations: 38.95 kB / 450.6 MB, free: 64.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.2829, allocations: 1.829 MB / 452.4 MB, free: 62.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/0.2834, allocations: 478 kB / 452.9 MB, free: 62.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.2848, allocations: 0.8217 MB / 453.7 MB, free: 62.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.2849, allocations: 329.4 kB / 454 MB, free: 61.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.2878, allocations: 1.311 MB / 455.3 MB, free: 61.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/0.2923, allocations: 3.922 MB / 459.2 MB, free: 57.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/0.301, allocations: 5.708 MB / 464.9 MB, free: 52.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.3011, allocations: 31.25 kB / 465 MB, free: 52.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007795/0.3089, allocations: 5.028 MB / 470 MB, free: 50.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.309, allocations: 46.34 kB / 470 MB, free: 50.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009808/0.31, allocations: 0.837 MB / 470.9 MB, free: 50.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.3101, allocations: 120.6 kB / 471 MB, free: 50.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.3127, allocations: 0.9549 MB / 472 MB, free: 50.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.89e-05/0.3127, allocations: 178.4 kB / 472.1 MB, free: 50.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.3152, allocations: 229 kB / 472.4 MB, free: 49.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.3155, allocations: 254.9 kB / 472.6 MB, free: 49.69 MB / 366.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.001281/0.3168, allocations: 1.194 MB / 473.8 MB, free: 48.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.3171, allocations: 186.6 kB / 474 MB, free: 48.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.3175, allocations: 251.8 kB / 474.2 MB, free: 48.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008833/0.3184, allocations: 0.7885 MB / 475 MB, free: 47.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3184, allocations: 0 / 475 MB, free: 47.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3184, allocations: 7.547 kB / 475 MB, free: 47.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/0.3224, allocations: 2.915 MB / 477.9 MB, free: 44.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3224, allocations: 4 kB / 477.9 MB, free: 44.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.323, allocations: 176.4 kB / 478.1 MB, free: 44.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.323, allocations: 4 kB / 478.1 MB, free: 44.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.3231, allocations: 31 kB / 478.1 MB, free: 44.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3231, allocations: 11 kB / 478.2 MB, free: 44.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3231, allocations: 7.938 kB / 478.2 MB, free: 44.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3246, allocations: 1.755 MB / 479.9 MB, free: 43.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.3251, allocations: 293.1 kB / 480.2 MB, free: 42.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.3253, allocations: 24 kB / 480.2 MB, free: 42.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.326, allocations: 58.41 kB / 480.3 MB, free: 42.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3261, allocations: 67.62 kB / 480.3 MB, free: 42.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.3262, allocations: 35.8 kB / 480.4 MB, free: 42.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.3274, allocations: 1.286 MB / 481.7 MB, free: 41.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3274, allocations: 0 / 481.7 MB, free: 41.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002627/0.33, allocations: 0.5309 MB / 482.2 MB, free: 41.04 MB / 366.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.0003398/0.3303, allocations: 187.1 kB / 482.4 MB, free: 40.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.3336, allocations: 2.81 MB / 485.2 MB, free: 38.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3336, allocations: 4 kB / 485.2 MB, free: 38.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.3341, allocations: 0.5826 MB / 485.8 MB, free: 37.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3353, allocations: 185.3 kB / 486 MB, free: 37.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.3404, allocations: 4.582 MB / 490.5 MB, free: 32.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.3416, allocations: 1.35 MB / 491.9 MB, free: 31.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002384/0.344, allocations: 1.41 MB / 493.3 MB, free: 29.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.3444, allocations: 152.4 kB / 493.5 MB, free: 29.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3444, allocations: 0 / 493.5 MB, free: 29.71 MB / 366.1 MB Notification: Performance of Templates: time 0.02631/0.3707, allocations: 13.97 MB / 0.4955 GB, free: 16.08 MB / 366.1 MB " [Timeout remaining time 660] 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.603638511151075] Failed to read output from testmodel.py, exit status != 0: 0.3801538683474064 0.39013820000000005 0.363506408 Calling exit ...