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.001236/0.001236, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001233/0.001233, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04023/0.04023, allocations: 8 MB / 299.1 MB, free: 7.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 362 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 51.2 MB / 413.2 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004631/0.1723, allocations: 5.561 MB / 418.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.175, allocations: 2.026 MB / 420.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.1754, allocations: 19.94 kB / 420.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.1762, allocations: 414.2 kB / 421.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1773, allocations: 0.6924 MB / 421.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1776, allocations: 135.6 kB / 422.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1787, allocations: 1.548 MB / 423.6 MB, free: 16.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.179, allocations: 314.1 kB / 423.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.1793, allocations: 0.5018 MB / 424.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.1798, allocations: 0.7043 MB / 425.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1799, allocations: 84 kB / 425.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.1804, allocations: 439.2 kB / 425.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.1807, allocations: 0.7166 MB / 426.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.1812, allocations: 0.869 MB / 427.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1825, allocations: 2.807 MB / 430 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1825, allocations: 0 / 430 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1825, allocations: 0 / 430 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.1826, allocations: 0 / 430 MB, free: 9.734 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.002038/0.1846, allocations: 2.147 MB / 432.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1846, allocations: 8.031 kB / 432.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.1884, allocations: 1.492 MB / 433.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1896, allocations: 0.851 MB / 434.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.1897, allocations: 85.98 kB / 434.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.1902, allocations: 251.7 kB / 434.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.194, allocations: 5.041 MB / 439.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.1941, allocations: 31.66 kB / 439.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.1943, allocations: 67.89 kB / 440 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.1958, allocations: 1.154 MB / 441.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005476/0.2013, allocations: 4.297 MB / 445.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.2184, allocations: 20.62 MB / 466.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2198, allocations: 1.329 MB / 467.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.2203, allocations: 453.2 kB / 467.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2204, allocations: 4 kB / 467.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2204, allocations: 46.5 kB / 467.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.905e-06/0.2204, allocations: 0 / 467.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01021/0.2306, allocations: 4.477 MB / 472.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2307, allocations: 136.8 kB / 472.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.2333, allocations: 2.397 MB / 474.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.2333, allocations: 41.69 kB / 474.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009967/0.2344, allocations: 1.757 MB / 476.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.2347, allocations: 462.2 kB / 477.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008684/0.2355, allocations: 0.8292 MB / 478 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2357, allocations: 357.9 kB / 478.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2373, allocations: 1.308 MB / 479.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.2404, allocations: 3.922 MB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/0.2457, allocations: 5.714 MB / 489.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-05/0.2458, allocations: 24 kB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006455/0.2522, allocations: 5.039 MB / 494.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.2523, allocations: 48 kB / 494.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00101/0.2533, allocations: 0.8374 MB / 495.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.2534, allocations: 120 kB / 495.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.2559, allocations: 0.9513 MB / 496.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.256, allocations: 183.3 kB / 496.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.258, allocations: 207.9 kB / 496.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.2583, allocations: 260.4 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.001296/0.2596, allocations: 1.207 MB / 498.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.2599, allocations: 205.3 kB / 498.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.2603, allocations: 267.1 kB / 498.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009873/0.2613, allocations: 0.7915 MB / 499.4 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2613, allocations: 0 / 499.4 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2613, allocations: 7.984 kB / 499.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/0.2663, allocations: 3.345 MB / 0.491 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2663, allocations: 4 kB / 0.491 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.267, allocations: 172.2 kB / 0.4911 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.267, allocations: 12 kB / 0.4911 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.2671, allocations: 24 kB / 0.4912 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.2671, allocations: 15.92 kB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2671, allocations: 7.938 kB / 0.4912 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.2689, allocations: 1.782 MB / 0.4929 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/0.2696, allocations: 386.2 kB / 0.4933 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.2697, allocations: 16 kB / 0.4933 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/0.2705, allocations: 63.86 kB / 0.4934 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2706, allocations: 67.8 kB / 0.4934 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.2707, allocations: 39.97 kB / 0.4935 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.2723, allocations: 1.474 MB / 0.4949 GB, free: 8.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2723, allocations: 0 / 0.4949 GB, free: 8.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002288/0.2746, allocations: 0.5429 MB / 0.4954 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.0003255/0.2749, allocations: 186.9 kB / 0.4956 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.2785, allocations: 2.953 MB / 0.4985 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2785, allocations: 0 / 0.4985 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.2792, allocations: 0.646 MB / 0.4991 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2803, allocations: 195.8 kB / 0.4993 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.136/0.4164, allocations: 4.579 MB / 0.5038 GB, free: 89.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.4179, allocations: 1.921 MB / 0.5057 GB, free: 89.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002547/0.4205, allocations: 1.447 MB / 0.5071 GB, free: 89.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.4209, allocations: 151.3 kB / 0.5072 GB, free: 89.02 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4209, allocations: 0 / 0.5072 GB, free: 89.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02371/0.4446, allocations: 13.97 MB / 0.5209 GB, free: 81.7 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 gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)