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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 100.1 kB / 15.88 MB, free: 12 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.0017/0.0017, allocations: 199.3 kB / 16.79 MB, free: 6.828 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.814/1.814, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2433/0.2433, allocations: 7.975 MB / 298.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 67.91 kB / 360.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1803, allocations: 51.22 MB / 411.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.0126/0.193, allocations: 9.065 MB / 420.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0081/0.2012, allocations: 2.52 MB / 423.4 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.204, allocations: 31.94 kB / 423.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.35/0.5542, allocations: 362.7 kB / 423.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.5569, allocations: 0.6665 MB / 424.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.5574, allocations: 88.81 kB / 424.5 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5604, allocations: 2.189 MB / 426.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.5611, allocations: 316.7 kB / 427 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.562, allocations: 439 kB / 427.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.5632, allocations: 0.7785 MB / 428.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.5634, allocations: 53.53 kB / 428.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.5645, allocations: 392.7 kB / 428.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.5652, allocations: 0.7055 MB / 429.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.5661, allocations: 0.8579 MB / 430.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.5684, allocations: 2.11 MB / 432.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5685, allocations: 0 / 432.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5685, allocations: 0.875 kB / 432.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.513e-05/0.5686, allocations: 0 / 432.3 MB, free: 34.64 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.004897/0.5735, allocations: 2.139 MB / 434.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.5735, allocations: 12.98 kB / 434.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.5782, allocations: 1.483 MB / 436 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.5801, allocations: 0.8602 MB / 436.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5802, allocations: 83.64 kB / 436.9 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007255/0.5809, allocations: 248.8 kB / 437.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006719/0.5877, allocations: 5.035 MB / 442.2 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.5878, allocations: 33.91 kB / 442.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.588, allocations: 63.02 kB / 442.3 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/0.5898, allocations: 1.146 MB / 443.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00751/0.5973, allocations: 4.306 MB / 447.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.6227, allocations: 20.66 MB / 468.4 MB, free: 29.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.6255, allocations: 1.333 MB / 469.7 MB, free: 28.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.6264, allocations: 445.9 kB / 470.2 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.6264, allocations: 5.5 kB / 470.2 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.6265, allocations: 47.94 kB / 470.2 MB, free: 28.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 6.081e-06/0.6265, allocations: 0 / 470.2 MB, free: 28.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.009643/0.6362, allocations: 3.952 MB / 474.2 MB, free: 26.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6364, allocations: 143 kB / 474.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.6418, allocations: 2.394 MB / 476.7 MB, free: 25.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.6421, allocations: 38.25 kB / 476.7 MB, free: 25.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.6439, allocations: 1.762 MB / 478.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000815/0.6447, allocations: 456.3 kB / 478.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.6464, allocations: 0.8265 MB / 479.8 MB, free: 23.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.6468, allocations: 354.1 kB / 480.1 MB, free: 22.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.6497, allocations: 1.274 MB / 481.4 MB, free: 22.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005081/0.6548, allocations: 3.902 MB / 485.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009189/0.6641, allocations: 5.661 MB / 491 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/0.6644, allocations: 25.94 kB / 491 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01562/0.68, allocations: 4.966 MB / 495.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.6802, allocations: 44.56 kB / 496 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001728/0.682, allocations: 0.7674 MB / 496.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.6824, allocations: 124 kB / 496.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/0.6864, allocations: 0.9349 MB / 497.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/0.6868, allocations: 183.2 kB / 498 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/0.6916, allocations: 218.8 kB / 498.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.6928, allocations: 260.2 kB / 498.5 MB, free: 9.277 MB / 366.1 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.004564/0.6974, allocations: 1.204 MB / 499.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.6984, allocations: 202.4 kB / 499.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.6996, allocations: 267.1 kB / 0.4884 GB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001472/0.7011, allocations: 0.7089 MB / 0.4891 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/0.7012, allocations: 0.6562 kB / 0.4891 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.7012, allocations: 4.172 kB / 0.4891 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.7129, allocations: 3.212 MB / 0.4922 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.713, allocations: 8 kB / 0.4922 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/0.7138, allocations: 162.2 kB / 0.4924 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.14e-05/0.7138, allocations: 20 kB / 0.4924 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.7139, allocations: 34.12 kB / 0.4924 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.714, allocations: 15.94 kB / 0.4925 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.126e-05/0.714, allocations: 18.98 kB / 0.4925 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.7174, allocations: 1.71 MB / 0.4942 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.7186, allocations: 274.6 kB / 0.4944 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006601/0.7193, allocations: 30.44 kB / 0.4944 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7205, allocations: 44.81 kB / 0.4945 GB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.7207, allocations: 81.5 kB / 0.4946 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.7208, allocations: 44 kB / 0.4946 GB, free: 1.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003971/0.7248, allocations: 1.475 MB / 0.496 GB, free: 484 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7248, allocations: 0 / 0.496 GB, free: 484 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.005955/0.7308, allocations: 0.5185 MB / 0.4966 GB, free: 15.95 MB / 382.1 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.0008672/0.7317, allocations: 195.5 kB / 0.4967 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006878/0.7386, allocations: 2.791 MB / 0.4995 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.7387, allocations: 4 kB / 0.4995 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7397, allocations: 0.5417 MB / 0.5 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.7428, allocations: 203.9 kB / 0.5002 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.7571, allocations: 5.816 MB / 0.5059 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/0.7605, allocations: 1.931 MB / 0.5078 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008838/0.7615, allocations: 183.4 kB / 0.5079 GB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.575e-06/0.7615, allocations: 0 / 0.5079 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Templates: time 0.07062/0.8321, allocations: 30.03 MB / 0.5373 GB, free: 6.156 MB / 414.1 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)