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.001423/0.001423, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001389/0.001389, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04755/0.04755, allocations: 8.007 MB / 299.1 MB, free: 7.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 55.91 kB / 361.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2022, allocations: 51.22 MB / 412.5 MB, free: 26.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004794/0.207, allocations: 5.548 MB / 418 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.2096, allocations: 2.02 MB / 420.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.21, allocations: 23.94 kB / 420.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.2107, allocations: 410.2 kB / 420.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009662/0.2117, allocations: 0.6963 MB / 421.2 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.212, allocations: 131.6 kB / 421.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.213, allocations: 1.541 MB / 422.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.2134, allocations: 322.1 kB / 423.2 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.2137, allocations: 0.4978 MB / 423.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.2143, allocations: 0.7199 MB / 424.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.2144, allocations: 80 kB / 424.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.215, allocations: 435.2 kB / 424.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.2154, allocations: 0.7127 MB / 425.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.2158, allocations: 0.8768 MB / 426.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.2174, allocations: 2.653 MB / 429.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2174, allocations: 0 / 429.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2174, allocations: 0 / 429.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.589e-05/0.2175, allocations: 4 kB / 429.1 MB, free: 10.02 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.002456/0.2199, allocations: 2.143 MB / 431.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.22, allocations: 8.031 kB / 431.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.2242, allocations: 1.492 MB / 432.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.2254, allocations: 0.8471 MB / 433.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.2254, allocations: 89.98 kB / 433.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/0.226, allocations: 247.6 kB / 434 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/0.2303, allocations: 5.045 MB / 439 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.2304, allocations: 35.72 kB / 439 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.2306, allocations: 59.91 kB / 439.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.2325, allocations: 1.154 MB / 440.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006823/0.2393, allocations: 4.296 MB / 444.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.2617, allocations: 20.68 MB / 465.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2635, allocations: 1.339 MB / 466.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.2642, allocations: 439.9 kB / 467 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.2642, allocations: 11.94 kB / 467 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.2643, allocations: 42.55 kB / 467 MB, free: 2.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 3.526e-06/0.2643, allocations: 4 kB / 467 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01195/0.2762, allocations: 4.48 MB / 471.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2764, allocations: 140.8 kB / 471.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.2795, allocations: 2.404 MB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.2796, allocations: 33.7 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.281, allocations: 1.761 MB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.2814, allocations: 462.2 kB / 476.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2824, allocations: 0.8215 MB / 477.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2826, allocations: 361.9 kB / 477.5 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.2845, allocations: 1.308 MB / 478.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/0.2887, allocations: 3.923 MB / 482.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006775/0.2954, allocations: 5.718 MB / 488.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.347e-05/0.2955, allocations: 28 kB / 488.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008236/0.3038, allocations: 5.025 MB / 493.5 MB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.3039, allocations: 51.97 kB / 493.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001234/0.3051, allocations: 0.8387 MB / 494.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.3052, allocations: 128 kB / 494.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.308, allocations: 0.9474 MB / 495.4 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/0.3082, allocations: 187.2 kB / 495.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.3104, allocations: 223.6 kB / 495.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.3107, allocations: 256 kB / 496.1 MB, free: 2.762 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.001642/0.3124, allocations: 1.203 MB / 497.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.3128, allocations: 201.4 kB / 497.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.3133, allocations: 267.1 kB / 497.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001199/0.3145, allocations: 0.7877 MB / 498.5 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3145, allocations: 0 / 498.5 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.3145, allocations: 3.984 kB / 498.6 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.3201, allocations: 3.342 MB / 0.4901 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.3201, allocations: 8.062 kB / 0.4901 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.3208, allocations: 171.7 kB / 0.4903 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3209, allocations: 8 kB / 0.4903 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/0.3209, allocations: 27.97 kB / 0.4903 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.321, allocations: 15.88 kB / 0.4904 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.321, allocations: 4 kB / 0.4904 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3232, allocations: 1.793 MB / 0.4921 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.3239, allocations: 370.4 kB / 0.4925 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.3241, allocations: 23.98 kB / 0.4925 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.3248, allocations: 63.8 kB / 0.4925 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3249, allocations: 67.8 kB / 0.4926 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.325, allocations: 35.98 kB / 0.4926 GB, free: 10.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.3271, allocations: 1.482 MB / 0.4941 GB, free: 8.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3271, allocations: 0 / 0.4941 GB, free: 8.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002647/0.3298, allocations: 0.5429 MB / 0.4946 GB, free: 8.125 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.0004285/0.3302, allocations: 179 kB / 0.4948 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.335, allocations: 3.199 MB / 0.4979 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.335, allocations: 8.219 kB / 0.4979 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.336, allocations: 0.6562 MB / 0.4986 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.3373, allocations: 185.3 kB / 0.4987 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1615/0.4988, allocations: 4.88 MB / 0.5035 GB, free: 89.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.5015, allocations: 1.931 MB / 0.5054 GB, free: 89.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/0.5025, allocations: 188.6 kB / 0.5056 GB, free: 89.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5025, allocations: 2.531 kB / 0.5056 GB, free: 89.14 MB / 382.1 MB Notification: Performance of Templates: time 0.04734/0.5499, allocations: 31.1 MB / 0.5359 GB, free: 66.04 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)