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.0009651/0.0009699, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0008919/0.0008921, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2477/0.2477, allocations: 7.973 MB / 299 MB, free: 3.219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 12 kB / 361.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 52.21 MB / 413.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007922/0.1494, allocations: 7.673 MB / 421.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.1544, allocations: 2.475 MB / 424 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.1551, allocations: 27.94 kB / 424 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.277/0.4321, allocations: 338.6 kB / 424.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.4369, allocations: 1.169 MB / 425.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.4373, allocations: 112.4 kB / 425.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.4387, allocations: 0.9095 MB / 426.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.4392, allocations: 369.5 kB / 426.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.4396, allocations: 427.5 kB / 427.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.4402, allocations: 0.5605 MB / 427.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4403, allocations: 54.41 kB / 428 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.4409, allocations: 381.2 kB / 428.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.4414, allocations: 0.64 MB / 429 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.4417, allocations: 382.8 kB / 429.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4433, allocations: 2.076 MB / 431.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4433, allocations: 0 / 431.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4433, allocations: 0 / 431.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.4434, allocations: 0 / 431.4 MB, free: 33.74 MB / 350.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.002477/0.4458, allocations: 1.81 MB / 433.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4459, allocations: 9.656 kB / 433.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.4508, allocations: 1.802 MB / 435 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.4523, allocations: 0.8382 MB / 435.9 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.4524, allocations: 85.06 kB / 436 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005879/0.453, allocations: 254.6 kB / 436.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.4581, allocations: 5.025 MB / 441.2 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.4582, allocations: 29.58 kB / 441.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.4584, allocations: 61.94 kB / 441.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001521/0.4599, allocations: 1.153 MB / 442.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.4657, allocations: 4.274 MB / 446.7 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.4852, allocations: 20.69 MB / 467.4 MB, free: 31.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.4872, allocations: 1.338 MB / 468.8 MB, free: 30.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.4872, allocations: 6.719 kB / 468.8 MB, free: 30.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.4873, allocations: 49.84 kB / 468.8 MB, free: 30.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 4.228e-06/0.4873, allocations: 0 / 468.8 MB, free: 30.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01226/0.4996, allocations: 4.701 MB / 473.5 MB, free: 28.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.4997, allocations: 138.2 kB / 473.7 MB, free: 28.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/0.504, allocations: 2.381 MB / 476 MB, free: 27.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.5041, allocations: 39.89 kB / 476.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.5057, allocations: 1.758 MB / 477.8 MB, free: 25.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/0.5063, allocations: 459.2 kB / 478.3 MB, free: 25.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5065, allocations: 81.91 kB / 478.4 MB, free: 25.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000507/0.507, allocations: 0.534 MB / 478.9 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/0.5096, allocations: 1.293 MB / 480.2 MB, free: 24.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/0.5132, allocations: 3.893 MB / 484.1 MB, free: 20.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.5171, allocations: 2.239 MB / 486.3 MB, free: 19.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/0.5172, allocations: 25.88 kB / 486.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01055/0.5278, allocations: 5.008 MB / 491.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.5279, allocations: 44.94 kB / 491.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001347/0.5293, allocations: 0.8434 MB / 492.2 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.5295, allocations: 136 kB / 492.4 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.5324, allocations: 0.9512 MB / 493.3 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002159/0.5327, allocations: 181.4 kB / 493.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.5359, allocations: 223.7 kB / 493.7 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.5362, allocations: 268.2 kB / 494 MB, free: 17.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002182/0.5384, allocations: 1.199 MB / 495.2 MB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/0.5389, allocations: 201.3 kB / 495.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.5394, allocations: 267.6 kB / 495.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001063/0.5404, allocations: 0.7891 MB / 496.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.5405, allocations: 6.188 kB / 496.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5405, allocations: 3.938 kB / 496.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.5467, allocations: 3.355 MB / 499.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.5467, allocations: 5.406 kB / 499.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.5475, allocations: 173 kB / 500 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/0.5475, allocations: 8 kB / 500 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.5476, allocations: 25.7 kB / 0.4883 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.5476, allocations: 13.47 kB / 0.4883 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5476, allocations: 4 kB / 0.4883 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.55, allocations: 2.081 MB / 0.4903 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/0.5509, allocations: 386.2 kB / 0.4907 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.5511, allocations: 23.94 kB / 0.4907 GB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/0.5518, allocations: 57.56 kB / 0.4908 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.552, allocations: 63.88 kB / 0.4908 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.552, allocations: 37.47 kB / 0.4909 GB, free: 9.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.5542, allocations: 1.478 MB / 0.4923 GB, free: 7.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5542, allocations: 0 / 0.4923 GB, free: 7.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003628/0.5579, allocations: 0.5364 MB / 0.4928 GB, free: 7.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004303/0.5583, allocations: 178.8 kB / 0.493 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.5634, allocations: 2.918 MB / 0.4959 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5634, allocations: 3.656 kB / 0.4959 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.5643, allocations: 0.643 MB / 0.4965 GB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5655, allocations: 175.4 kB / 0.4967 GB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/0.5752, allocations: 5.366 MB / 0.5019 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.5775, allocations: 1.967 MB / 0.5038 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003457/0.5809, allocations: 1.436 MB / 0.5052 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.5814, allocations: 155.4 kB / 0.5054 GB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.934e-06/0.5814, allocations: 0 / 0.5054 GB, free: 10.08 MB / 382.1 MB Notification: Performance of Templates: time 0.03426/0.6157, allocations: 16.22 MB / 0.5212 GB, free: 9.98 MB / 398.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)