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.0008722/0.0008722, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.000965/0.000965, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.02758/0.02758, allocations: 6.206 MB / 266.5 MB, free: 7.004 MB / 250.7 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.973e-06/1.973e-06, allocations: 0 / 337.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.793e-05, allocations: 2.312 kB / 337.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006387/0.006415, allocations: 5.377 MB / 343 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.01046, allocations: 2.009 MB / 345 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/0.01114, allocations: 23.94 kB / 345.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01223, allocations: 437.9 kB / 345.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.01374, allocations: 0.7387 MB / 346.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.01409, allocations: 135.5 kB / 346.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.01567, allocations: 1.549 MB / 347.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.01628, allocations: 365.5 kB / 348.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009669/0.01725, allocations: 0.7362 MB / 349 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.01835, allocations: 0.7558 MB / 349.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.01861, allocations: 80 kB / 349.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.01941, allocations: 359.3 kB / 350.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006924/0.0201, allocations: 0.7437 MB / 350.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007057/0.02081, allocations: 422.2 kB / 351.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.02345, allocations: 1.828 MB / 353.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.02346, allocations: 0 / 353.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.02346, allocations: 0 / 353.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.23e-05/0.02352, allocations: 4 kB / 353.2 MB, free: 12.42 MB / 282.7 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.003235/0.02676, allocations: 2.361 MB / 355.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.0268, allocations: 11.89 kB / 355.5 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/0.03092, allocations: 1.735 MB / 357.3 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.03207, allocations: 0.7695 MB / 358.1 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.03213, allocations: 78.42 kB / 358.1 MB, free: 7.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/0.03268, allocations: 235.5 kB / 358.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.03629, allocations: 3.125 MB / 361.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.03633, allocations: 19.81 kB / 361.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.03651, allocations: 63.91 kB / 361.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/0.03797, allocations: 1.154 MB / 362.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.04156, allocations: 1.581 MB / 364.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.06081, allocations: 25.14 MB / 389.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.06178, allocations: 452 kB / 389.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.06206, allocations: 171.9 kB / 390 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.06209, allocations: 12.11 kB / 390.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.06212, allocations: 45.33 kB / 390.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 4.438e-06/0.06212, allocations: 3.984 kB / 390.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.006945/0.06907, allocations: 3.307 MB / 393.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.06914, allocations: 136.8 kB / 393.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.07173, allocations: 2.168 MB / 395.7 MB, free: 52 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.07179, allocations: 41.69 kB / 395.8 MB, free: 4 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009654/0.07276, allocations: 1.959 MB / 397.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.07309, allocations: 496.3 kB / 398.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007607/0.07385, allocations: 0.9048 MB / 399.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.07399, allocations: 0.5004 MB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.07481, allocations: 455.8 kB / 400.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.07757, allocations: 4.329 MB / 404.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.08193, allocations: 5.27 MB / 409.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/0.08198, allocations: 28 kB / 409.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.004827/0.08681, allocations: 3.521 MB / 413.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.08686, allocations: 48 kB / 413.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000569/0.08743, allocations: 433 kB / 413.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.986e-05/0.08753, allocations: 124 kB / 413.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.08913, allocations: 0.952 MB / 414.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/0.08926, allocations: 191.2 kB / 414.9 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.0907, allocations: 223.7 kB / 415.1 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.09094, allocations: 260 kB / 415.4 MB, free: 8.727 MB / 346.7 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.0007187/0.09166, allocations: 486.2 kB / 415.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.09192, allocations: 222.7 kB / 416.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.09213, allocations: 200.8 kB / 416.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005126/0.09265, allocations: 394.1 kB / 416.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.09266, allocations: 0 / 416.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.09266, allocations: 3.984 kB / 416.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.09617, allocations: 2.69 MB / 419.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.09617, allocations: 4 kB / 419.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.09658, allocations: 171.7 kB / 419.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.09659, allocations: 8 kB / 419.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.09662, allocations: 27.98 kB / 419.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.09663, allocations: 11.94 kB / 419.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.09664, allocations: 4 kB / 419.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.09797, allocations: 1.401 MB / 421 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/0.09834, allocations: 278.6 kB / 421.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.09845, allocations: 20 kB / 421.3 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.09884, allocations: 55.92 kB / 421.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.09894, allocations: 75.75 kB / 421.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.09899, allocations: 32 kB / 421.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000974/0.09997, allocations: 0.8855 MB / 422.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09997, allocations: 0 / 422.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002251/0.1022, allocations: 0.5272 MB / 422.9 MB, free: 1.02 MB / 346.7 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.0003783/0.1026, allocations: 182.9 kB / 423 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1191/0.2217, allocations: 1.864 MB / 424.9 MB, free: 93.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2217, allocations: 3.969 kB / 424.9 MB, free: 93.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2222, allocations: 329.8 kB / 425.2 MB, free: 93.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2233, allocations: 183.7 kB / 425.4 MB, free: 93.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.2285, allocations: 3.704 MB / 429.1 MB, free: 91.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.2292, allocations: 0.6107 MB / 429.7 MB, free: 91.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001959/0.2312, allocations: 1.231 MB / 431 MB, free: 91.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2314, allocations: 138.8 kB / 431.1 MB, free: 91.55 MB / 346.7 MB Notification: Performance of SimCode: time 2.345e-06/0.2314, allocations: 0 / 431.1 MB, free: 91.55 MB / 346.7 MB Notification: Performance of Templates: time 0.02056/0.252, allocations: 14.02 MB / 445.1 MB, free: 80.07 MB / 346.7 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=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4791032678913325]