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.001061/0.001061, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1869/0.1869, allocations: 7.979 MB / 298.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 63.91 kB / 360.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1012, allocations: 51.21 MB / 411.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.008727/0.11, allocations: 5.544 MB / 417.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.1143, allocations: 2.036 MB / 419.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007767/0.1151, allocations: 23.94 kB / 419.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.1163, allocations: 406.2 kB / 419.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1179, allocations: 0.6924 MB / 420.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1183, allocations: 131.7 kB / 420.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1199, allocations: 1.546 MB / 422.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.1204, allocations: 322.1 kB / 422.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.1209, allocations: 0.4979 MB / 423 MB, free: 160 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2089/0.3298, allocations: 0.7044 MB / 423.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.3302, allocations: 81.41 kB / 423.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3313, allocations: 442 kB / 424.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007473/0.332, allocations: 0.71 MB / 424.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.3326, allocations: 0.871 MB / 425.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.3346, allocations: 2.66 MB / 428.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3346, allocations: 0.7812 kB / 428.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3346, allocations: 3.062 kB / 428.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.3347, allocations: 0.6562 kB / 428.4 MB, free: 35.34 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.002789/0.3375, allocations: 2.141 MB / 430.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3375, allocations: 10.38 kB / 430.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.3419, allocations: 1.485 MB / 432.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3431, allocations: 0.8528 MB / 432.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.3432, allocations: 88.53 kB / 433 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006175/0.3438, allocations: 249 kB / 433.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004876/0.3487, allocations: 5.044 MB / 438.3 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.3488, allocations: 24.41 kB / 438.3 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.3489, allocations: 65.7 kB / 438.4 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.3505, allocations: 1.151 MB / 439.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.3563, allocations: 4.302 MB / 443.8 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.3723, allocations: 20.67 MB / 464.5 MB, free: 30.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.3737, allocations: 1.34 MB / 465.9 MB, free: 29.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.3742, allocations: 443.7 kB / 466.3 MB, free: 29.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3742, allocations: 13.5 kB / 466.3 MB, free: 29.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3742, allocations: 41.47 kB / 466.3 MB, free: 29.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.437e-06/0.3742, allocations: 0 / 466.3 MB, free: 29.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01124/0.3855, allocations: 4.469 MB / 470.8 MB, free: 27.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.3857, allocations: 146.6 kB / 471 MB, free: 27.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.3885, allocations: 2.387 MB / 473.3 MB, free: 26.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.3886, allocations: 39.44 kB / 473.4 MB, free: 26.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008798/0.3895, allocations: 1.768 MB / 475.2 MB, free: 25.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.3898, allocations: 464.8 kB / 475.6 MB, free: 24.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.3909, allocations: 0.8227 MB / 476.4 MB, free: 24.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.3912, allocations: 356.1 kB / 476.8 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.3931, allocations: 1.309 MB / 478.1 MB, free: 23.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/0.3969, allocations: 3.923 MB / 482 MB, free: 19.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/0.4027, allocations: 5.712 MB / 487.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.64e-05/0.4028, allocations: 27.5 kB / 487.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007787/0.4106, allocations: 5.039 MB / 492.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.4107, allocations: 42.53 kB / 492.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001083/0.4118, allocations: 0.8428 MB / 493.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.4119, allocations: 123.2 kB / 493.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.4144, allocations: 0.9539 MB / 494.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/0.4146, allocations: 185.1 kB / 494.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.4169, allocations: 218.3 kB / 495.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/0.4173, allocations: 260.8 kB / 495.4 MB, free: 12.49 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.001519/0.4188, allocations: 1.196 MB / 496.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.4191, allocations: 199 kB / 496.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.4195, allocations: 267.3 kB / 497 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001094/0.4206, allocations: 0.7859 MB / 497.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4207, allocations: 0.5 kB / 497.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4207, allocations: 12.22 kB / 497.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/0.4259, allocations: 3.352 MB / 0.4894 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.4259, allocations: 4 kB / 0.4895 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.4267, allocations: 175.4 kB / 0.4896 GB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.4267, allocations: 8.75 kB / 0.4896 GB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.4268, allocations: 26.81 kB / 0.4897 GB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.4268, allocations: 9.219 kB / 0.4897 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.4268, allocations: 13.25 kB / 0.4897 GB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.4287, allocations: 1.778 MB / 0.4914 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.4292, allocations: 378.8 kB / 0.4918 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.4294, allocations: 16 kB / 0.4918 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.4302, allocations: 63.84 kB / 0.4918 GB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4303, allocations: 70.34 kB / 0.4919 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.4304, allocations: 35.75 kB / 0.4919 GB, free: 5.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.4321, allocations: 1.476 MB / 0.4934 GB, free: 3.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4321, allocations: 0 / 0.4934 GB, free: 3.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002494/0.4346, allocations: 0.5462 MB / 0.4939 GB, free: 3.258 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 (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.0003212/0.4349, allocations: 186.4 kB / 0.4941 GB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003987/0.4389, allocations: 3.203 MB / 0.4972 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4389, allocations: 0 / 0.4972 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.4398, allocations: 0.6468 MB / 0.4979 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.4409, allocations: 188.1 kB / 0.498 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.447, allocations: 4.653 MB / 0.5026 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.4489, allocations: 1.932 MB / 0.5045 GB, free: 9.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003155/0.452, allocations: 1.438 MB / 0.5059 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.4524, allocations: 143.4 kB / 0.506 GB, free: 7.453 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4524, allocations: 0 / 0.506 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Templates: time 0.03285/0.4853, allocations: 17.29 MB / 0.5229 GB, free: 6.293 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)