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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 104.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03769/0.03769, allocations: 7.97 MB / 348 MB, free: 1.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009498/0.0009499, allocations: 54.06 kB / 410 MB, free: 58.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07554/0.07651, allocations: 51.21 MB / 461.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.00685/0.08339, allocations: 9.034 MB / 470.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.08744, allocations: 2.621 MB / 472.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005896/0.08805, allocations: 31.88 kB / 472.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.08888, allocations: 386.7 kB / 473.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.08999, allocations: 0.655 MB / 473.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.09024, allocations: 127.7 kB / 474 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.09209, allocations: 2.201 MB / 476.2 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.09247, allocations: 318.1 kB / 476.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.09294, allocations: 449.9 kB / 477 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.09375, allocations: 0.7783 MB / 477.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.09388, allocations: 56 kB / 477.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.09456, allocations: 435.2 kB / 478.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.09512, allocations: 0.7088 MB / 478.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.09575, allocations: 0.865 MB / 479.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.09794, allocations: 2.644 MB / 482.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09795, allocations: 0 / 482.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.09796, allocations: 0 / 482.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.173e-05/0.09801, allocations: 4 kB / 482.4 MB, free: 1.848 MB / 314.7 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.151/0.249, allocations: 2.145 MB / 484.6 MB, free: 29.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.249, allocations: 9 kB / 484.6 MB, free: 29.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.2539, allocations: 1.484 MB / 486.1 MB, free: 29.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.2555, allocations: 0.859 MB / 486.9 MB, free: 28.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.2555, allocations: 84.39 kB / 487 MB, free: 28.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/0.2561, allocations: 250.2 kB / 487.3 MB, free: 28.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005545/0.2617, allocations: 5.044 MB / 492.3 MB, free: 25.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.2618, allocations: 35.27 kB / 492.3 MB, free: 25.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.2619, allocations: 58.69 kB / 492.4 MB, free: 25.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.2636, allocations: 1.155 MB / 493.6 MB, free: 25.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006533/0.2702, allocations: 4.297 MB / 497.9 MB, free: 24.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.2855, allocations: 20.67 MB / 0.5064 GB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.2867, allocations: 1.337 MB / 0.5077 GB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.2871, allocations: 447.1 kB / 0.5081 GB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2871, allocations: 8 kB / 0.5081 GB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2872, allocations: 54.42 kB / 0.5082 GB, free: 3.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 2.755e-06/0.2872, allocations: 4 kB / 0.5082 GB, free: 3.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.009241/0.2964, allocations: 4.471 MB / 0.5125 GB, free: 14.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.2965, allocations: 140.8 kB / 0.5127 GB, free: 14.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.299, allocations: 2.393 MB / 0.515 GB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.2991, allocations: 43.38 kB / 0.515 GB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/0.3, allocations: 1.753 MB / 0.5168 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.3004, allocations: 466.1 kB / 0.5172 GB, free: 9.914 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008609/0.3012, allocations: 0.8292 MB / 0.518 GB, free: 9.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3014, allocations: 357.9 kB / 0.5183 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.303, allocations: 1.304 MB / 0.5196 GB, free: 7.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.306, allocations: 3.926 MB / 0.5235 GB, free: 2.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.3111, allocations: 5.71 MB / 0.529 GB, free: 11.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/0.3111, allocations: 24 kB / 0.5291 GB, free: 11.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006621/0.3178, allocations: 5.035 MB / 0.534 GB, free: 6.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.3178, allocations: 44 kB / 0.534 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001049/0.3189, allocations: 0.8503 MB / 0.5348 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.903e-05/0.319, allocations: 124 kB / 0.535 GB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.3215, allocations: 0.9474 MB / 0.5359 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.3217, allocations: 183.3 kB / 0.5361 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.3237, allocations: 215.6 kB / 0.5363 GB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.324, allocations: 260 kB / 0.5365 GB, free: 3.492 MB / 346.7 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.001337/0.3254, allocations: 1.204 MB / 0.5377 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.3256, allocations: 197.4 kB / 0.5379 GB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.3261, allocations: 275 kB / 0.5381 GB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00108/0.3272, allocations: 0.7954 MB / 0.5389 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3272, allocations: 0 / 0.5389 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3273, allocations: 7.984 kB / 0.5389 GB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.3324, allocations: 3.346 MB / 0.5422 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.3325, allocations: 4 kB / 0.5422 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.3332, allocations: 171.7 kB / 0.5424 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3332, allocations: 8 kB / 0.5424 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.3332, allocations: 19.98 kB / 0.5424 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.3333, allocations: 11.94 kB / 0.5424 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3333, allocations: 4.875 kB / 0.5424 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.3364, allocations: 3.344 MB / 0.5457 GB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.3371, allocations: 386.3 kB / 0.546 GB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.3373, allocations: 19.98 kB / 0.5461 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.338, allocations: 63.86 kB / 0.5461 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3382, allocations: 63.8 kB / 0.5462 GB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.3382, allocations: 35.98 kB / 0.5462 GB, free: 9.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.3401, allocations: 1.482 MB / 0.5477 GB, free: 7.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3401, allocations: 0 / 0.5477 GB, free: 7.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002349/0.3424, allocations: 0.5352 MB / 0.5482 GB, free: 7.273 MB / 362.7 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.000349/0.3428, allocations: 200.7 kB / 0.5484 GB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003969/0.3468, allocations: 2.926 MB / 0.5512 GB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3468, allocations: 320 / 0.5512 GB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.3476, allocations: 0.6553 MB / 0.5519 GB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.3488, allocations: 183.9 kB / 0.552 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.3559, allocations: 6.262 MB / 0.5582 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.3575, allocations: 1.967 MB / 0.5601 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003108/0.3606, allocations: 1.442 MB / 0.5615 GB, free: 9.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.361, allocations: 155.3 kB / 0.5616 GB, free: 9.375 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.361, allocations: 0 / 0.5616 GB, free: 9.375 MB / 378.7 MB Notification: Performance of Templates: time 0.02881/0.3898, allocations: 17.28 MB / 0.5785 GB, free: 8.145 MB / 394.7 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)