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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 106.2 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04035/0.04035, allocations: 7.996 MB / 299.2 MB, free: 7.141 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 362.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 51.2 MB / 413.3 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004818/0.1888, allocations: 5.55 MB / 418.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1912, allocations: 2.026 MB / 420.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1915, allocations: 23.94 kB / 420.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.1922, allocations: 418.1 kB / 421.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009171/0.1931, allocations: 0.6924 MB / 422 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1933, allocations: 123.7 kB / 422.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.1944, allocations: 1.553 MB / 423.6 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.1947, allocations: 318.1 kB / 423.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.195, allocations: 0.4979 MB / 424.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.1955, allocations: 0.7121 MB / 425.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1956, allocations: 84 kB / 425.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.1961, allocations: 435.2 kB / 425.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.1965, allocations: 0.7166 MB / 426.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.1969, allocations: 0.8728 MB / 427.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1984, allocations: 2.803 MB / 430.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1984, allocations: 0 / 430.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1984, allocations: 0 / 430.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.1984, allocations: 4 kB / 430.1 MB, free: 9.73 MB / 302.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.002169/0.2006, allocations: 2.151 MB / 432.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2006, allocations: 8.031 kB / 432.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.2045, allocations: 1.48 MB / 433.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2058, allocations: 0.8549 MB / 434.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.2059, allocations: 85.98 kB / 434.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.2064, allocations: 251.7 kB / 434.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.2105, allocations: 5.049 MB / 439.9 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.2105, allocations: 27.66 kB / 440 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.2107, allocations: 63.89 kB / 440 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001592/0.2123, allocations: 1.158 MB / 441.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/0.2181, allocations: 4.293 MB / 445.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.2362, allocations: 20.61 MB / 466.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.2377, allocations: 1.333 MB / 467.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.2382, allocations: 447.2 kB / 467.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.2383, allocations: 16 kB / 467.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2383, allocations: 38.5 kB / 467.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.665e-06/0.2383, allocations: 4 kB / 467.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01051/0.2488, allocations: 4.48 MB / 472.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.2489, allocations: 136.8 kB / 472.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.2515, allocations: 2.401 MB / 474.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.2515, allocations: 33.7 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009778/0.2525, allocations: 1.761 MB / 476.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.2528, allocations: 466.2 kB / 477.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008477/0.2537, allocations: 0.8253 MB / 478 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2538, allocations: 357.9 kB / 478.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.2555, allocations: 1.308 MB / 479.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.2585, allocations: 3.922 MB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005181/0.2637, allocations: 5.714 MB / 489.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-05/0.2638, allocations: 28 kB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006502/0.2703, allocations: 5.031 MB / 494.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.2704, allocations: 47.98 kB / 494.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001033/0.2714, allocations: 0.8335 MB / 495.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001094/0.2715, allocations: 124.8 kB / 495.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.2741, allocations: 0.955 MB / 496.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.2742, allocations: 183.3 kB / 496.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.2762, allocations: 215.6 kB / 496.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.2765, allocations: 256 kB / 496.9 MB, free: 2.555 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.001318/0.2779, allocations: 1.211 MB / 498.2 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.2782, allocations: 197.4 kB / 498.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.2786, allocations: 267.1 kB / 498.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001036/0.2796, allocations: 0.7954 MB / 499.4 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2797, allocations: 4 kB / 499.4 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2797, allocations: 3.984 kB / 499.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.2849, allocations: 3.342 MB / 0.491 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2849, allocations: 4 kB / 0.491 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.2856, allocations: 171.7 kB / 0.4911 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.2857, allocations: 8 kB / 0.4911 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.2857, allocations: 20 kB / 0.4912 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.2857, allocations: 11.94 kB / 0.4912 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.2858, allocations: 11.92 kB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2876, allocations: 1.786 MB / 0.4929 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.2883, allocations: 378.2 kB / 0.4933 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.2885, allocations: 20.28 kB / 0.4933 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.2893, allocations: 63.86 kB / 0.4934 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.2894, allocations: 67.8 kB / 0.4934 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.2895, allocations: 43.92 kB / 0.4935 GB, free: 9.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001757/0.2913, allocations: 1.478 MB / 0.4949 GB, free: 8.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2913, allocations: 3.938 kB / 0.4949 GB, free: 8.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002496/0.2938, allocations: 0.539 MB / 0.4955 GB, free: 7.91 MB / 382.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.0003354/0.2941, allocations: 190.9 kB / 0.4956 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.2979, allocations: 2.947 MB / 0.4985 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2979, allocations: 0 / 0.4985 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.2987, allocations: 0.6499 MB / 0.4991 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2999, allocations: 183.9 kB / 0.4993 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1486/0.4485, allocations: 4.587 MB / 0.5038 GB, free: 89.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.4501, allocations: 1.931 MB / 0.5057 GB, free: 89.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002564/0.4526, allocations: 1.437 MB / 0.5071 GB, free: 89.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.453, allocations: 158.2 kB / 0.5072 GB, free: 89.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.453, allocations: 0 / 0.5072 GB, free: 89.09 MB / 382.1 MB Notification: Performance of Templates: time 0.02544/0.4785, allocations: 13.97 MB / 0.5209 GB, free: 81.68 MB / 382.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile (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 -s cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)