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.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001646/0.001646, allocations: 201.2 kB / 16.14 MB, free: 6.727 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1736/0.1736, allocations: 7.986 MB / 297.9 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 56.14 kB / 359.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1062, allocations: 51.21 MB / 411.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.009743/0.116, allocations: 9.043 MB / 420.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.121, allocations: 2.621 MB / 422.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1223, allocations: 27.94 kB / 422.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1926/0.3149, allocations: 377.7 kB / 423.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3166, allocations: 0.6664 MB / 423.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.317, allocations: 118.4 kB / 424 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3188, allocations: 2.189 MB / 426.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.3192, allocations: 311.3 kB / 426.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.3197, allocations: 443.1 kB / 426.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.3205, allocations: 0.7769 MB / 427.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.3207, allocations: 58.55 kB / 427.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.3215, allocations: 432.7 kB / 428.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.322, allocations: 0.7117 MB / 428.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.3227, allocations: 0.8647 MB / 429.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3249, allocations: 2.645 MB / 432.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3249, allocations: 0 / 432.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3249, allocations: 3.656 kB / 432.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.325, allocations: 0 / 432.4 MB, free: 34.38 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.003355/0.3284, allocations: 2.146 MB / 434.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3284, allocations: 9.562 kB / 434.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.3325, allocations: 1.483 MB / 436 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3337, allocations: 0.8552 MB / 436.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3338, allocations: 83.88 kB / 437 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005947/0.3344, allocations: 252.9 kB / 437.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00486/0.3392, allocations: 5.043 MB / 442.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.3393, allocations: 30.44 kB / 442.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3395, allocations: 67.33 kB / 442.3 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.3409, allocations: 1.156 MB / 443.5 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.3464, allocations: 4.298 MB / 447.8 MB, free: 28.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/0.364, allocations: 20.66 MB / 468.5 MB, free: 28.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.3657, allocations: 1.339 MB / 469.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.3662, allocations: 459 kB / 470.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3662, allocations: 8.875 kB / 470.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3663, allocations: 38.69 kB / 470.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.246e-06/0.3663, allocations: 0 / 470.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01164/0.3779, allocations: 4.471 MB / 474.8 MB, free: 25.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.378, allocations: 137.5 kB / 474.9 MB, free: 25.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.3815, allocations: 2.395 MB / 477.3 MB, free: 24.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3816, allocations: 38.92 kB / 477.3 MB, free: 24.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009364/0.3826, allocations: 1.767 MB / 479.1 MB, free: 23.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.383, allocations: 454 kB / 479.5 MB, free: 23.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000969/0.3839, allocations: 0.8273 MB / 480.4 MB, free: 22.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3841, allocations: 354.7 kB / 480.7 MB, free: 22.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.386, allocations: 1.308 MB / 482 MB, free: 21.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/0.3889, allocations: 3.924 MB / 485.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.3944, allocations: 5.715 MB / 491.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.032e-05/0.3945, allocations: 26.19 kB / 491.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008435/0.403, allocations: 5.04 MB / 496.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.4031, allocations: 48.91 kB / 496.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00117/0.4042, allocations: 0.8454 MB / 497.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.4044, allocations: 124 kB / 497.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.4072, allocations: 0.9507 MB / 498.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/0.4073, allocations: 182.8 kB / 498.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.4099, allocations: 214.2 kB / 499.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/0.4103, allocations: 262.5 kB / 499.3 MB, free: 8.074 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.001758/0.4121, allocations: 1.2 MB / 0.4888 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.4126, allocations: 208.4 kB / 0.489 GB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.4131, allocations: 263.1 kB / 0.4893 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00109/0.4142, allocations: 0.7913 MB / 0.49 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.4142, allocations: 3.094 kB / 0.49 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4142, allocations: 2.719 kB / 0.49 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.4199, allocations: 3.353 MB / 0.4933 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.4199, allocations: 8.062 kB / 0.4933 GB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.4207, allocations: 175.7 kB / 0.4935 GB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.4207, allocations: 8 kB / 0.4935 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.4208, allocations: 24 kB / 0.4935 GB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.4208, allocations: 11.98 kB / 0.4935 GB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.4208, allocations: 11.88 kB / 0.4935 GB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.4231, allocations: 1.775 MB / 0.4953 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/0.4241, allocations: 378.3 kB / 0.4956 GB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.4243, allocations: 19.36 kB / 0.4956 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.4252, allocations: 59.92 kB / 0.4957 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4253, allocations: 67.8 kB / 0.4958 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.4254, allocations: 35.98 kB / 0.4958 GB, free: 172 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.4275, allocations: 1.475 MB / 0.4972 GB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4276, allocations: 0 / 0.4972 GB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003728/0.4313, allocations: 0.553 MB / 0.4978 GB, free: 14.12 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.0004759/0.4318, allocations: 187.9 kB / 0.498 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.4365, allocations: 2.934 MB / 0.5008 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4366, allocations: 0 / 0.5008 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.4374, allocations: 0.6514 MB / 0.5015 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.439, allocations: 197.5 kB / 0.5016 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.4466, allocations: 5.565 MB / 0.5071 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.4483, allocations: 1.923 MB / 0.509 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003135/0.4515, allocations: 1.44 MB / 0.5104 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.4519, allocations: 151.4 kB / 0.5105 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.452, allocations: 0 / 0.5105 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of Templates: time 0.02957/0.4815, allocations: 16.7 MB / 0.5268 GB, free: 420 kB / 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)