Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.1 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: 10.98 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.00096/0.00096, allocations: 109.4 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03975/0.03975, allocations: 7.973 MB / 348 MB, free: 1.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009786/0.0009787, allocations: 55.02 kB / 410 MB, free: 58.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.07269, allocations: 51.2 MB / 461.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007593/0.08032, allocations: 9.085 MB / 470.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.08593, allocations: 2.512 MB / 472.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.08853, allocations: 31.94 kB / 472.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.09063, allocations: 370.7 kB / 473.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.0937, allocations: 0.6694 MB / 473.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.09411, allocations: 83.84 kB / 473.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.09792, allocations: 2.2 MB / 476.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.09896, allocations: 318 kB / 476.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1001, allocations: 438 kB / 476.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1015, allocations: 0.7822 MB / 477.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.1018, allocations: 56 kB / 477.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.1028, allocations: 391.2 kB / 478.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009332/0.1038, allocations: 0.7049 MB / 478.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.1049, allocations: 0.865 MB / 479.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.1077, allocations: 2.616 MB / 482.2 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1078, allocations: 4 kB / 482.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1078, allocations: 0 / 482.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.471e-05/0.1079, allocations: 4 kB / 482.3 MB, free: 2.031 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.1579/0.2658, allocations: 2.129 MB / 484.4 MB, free: 29.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2659, allocations: 10.81 kB / 484.4 MB, free: 29.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.2713, allocations: 1.486 MB / 485.9 MB, free: 29.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.2732, allocations: 0.8655 MB / 486.7 MB, free: 28.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.853e-05/0.2733, allocations: 81.16 kB / 486.8 MB, free: 28.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008415/0.2742, allocations: 251.1 kB / 487.1 MB, free: 28.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006806/0.281, allocations: 5.043 MB / 492.1 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/0.2811, allocations: 27.55 kB / 492.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.2815, allocations: 63.58 kB / 492.2 MB, free: 26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001894/0.2834, allocations: 1.15 MB / 493.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007218/0.2906, allocations: 4.29 MB / 497.6 MB, free: 24.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3091, allocations: 20.66 MB / 0.5062 GB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3104, allocations: 1.332 MB / 0.5075 GB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.3109, allocations: 439.2 kB / 0.5079 GB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3109, allocations: 11.94 kB / 0.5079 GB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3109, allocations: 50.48 kB / 0.5079 GB, free: 3.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 3.827e-06/0.3109, allocations: 0 / 0.5079 GB, free: 3.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.005094/0.316, allocations: 3.984 MB / 0.5118 GB, free: 15.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.3161, allocations: 140.5 kB / 0.512 GB, free: 15.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.3191, allocations: 2.393 MB / 0.5143 GB, free: 12.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.3192, allocations: 37.7 kB / 0.5143 GB, free: 12.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.3203, allocations: 1.768 MB / 0.5161 GB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.3207, allocations: 446.3 kB / 0.5165 GB, free: 10.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.3217, allocations: 0.8213 MB / 0.5173 GB, free: 9.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3219, allocations: 361.9 kB / 0.5176 GB, free: 9.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.3236, allocations: 1.273 MB / 0.5189 GB, free: 8.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.3268, allocations: 3.896 MB / 0.5227 GB, free: 2.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/0.332, allocations: 5.657 MB / 0.5282 GB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-05/0.3321, allocations: 28 kB / 0.5282 GB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006823/0.3389, allocations: 4.963 MB / 0.5331 GB, free: 6.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.339, allocations: 44 kB / 0.5331 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009093/0.3399, allocations: 0.7649 MB / 0.5339 GB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.3401, allocations: 127.9 kB / 0.534 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.3425, allocations: 0.9396 MB / 0.5349 GB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000137/0.3426, allocations: 187.2 kB / 0.5351 GB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.3447, allocations: 219.5 kB / 0.5353 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.345, allocations: 260 kB / 0.5355 GB, free: 4.418 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001453/0.3465, allocations: 1.191 MB / 0.5367 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.3469, allocations: 197.4 kB / 0.5369 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.3474, allocations: 267.1 kB / 0.5372 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009032/0.3483, allocations: 0.719 MB / 0.5379 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.3483, allocations: 3.938 kB / 0.5379 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3483, allocations: 3.984 kB / 0.5379 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.3548, allocations: 3.215 MB / 0.541 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.3548, allocations: 8 kB / 0.541 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.3554, allocations: 155.7 kB / 0.5412 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.3554, allocations: 16 kB / 0.5412 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.3555, allocations: 24 kB / 0.5412 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-05/0.3555, allocations: 19.92 kB / 0.5412 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/0.3555, allocations: 16.41 kB / 0.5412 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.3585, allocations: 3.083 MB / 0.5442 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.359, allocations: 266.4 kB / 0.5445 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.3593, allocations: 35.97 kB / 0.5445 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.36, allocations: 43.95 kB / 0.5446 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3602, allocations: 85.59 kB / 0.5447 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.3602, allocations: 47.92 kB / 0.5447 GB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002188/0.3624, allocations: 1.478 MB / 0.5461 GB, free: 9.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3624, allocations: 0 / 0.5461 GB, free: 9.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002653/0.3651, allocations: 0.5175 MB / 0.5466 GB, free: 8.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.000364/0.3655, allocations: 188.1 kB / 0.5468 GB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.3693, allocations: 2.797 MB / 0.5496 GB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3693, allocations: 1.875 kB / 0.5496 GB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.3699, allocations: 0.5362 MB / 0.5501 GB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3714, allocations: 208.5 kB / 0.5503 GB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.3796, allocations: 6.24 MB / 0.5564 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.3818, allocations: 1.953 MB / 0.5583 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003291/0.3851, allocations: 1.407 MB / 0.5597 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.3856, allocations: 151.4 kB / 0.5598 GB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3856, allocations: 0 / 0.5598 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.02992/0.4155, allocations: 16.12 MB / 0.5755 GB, free: 10.89 MB / 394.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)