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.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001709/0.001709, allocations: 190.7 kB / 16.13 MB, free: 6.648 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1508/0.1508, allocations: 7.987 MB / 297.9 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 56.09 kB / 359.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09676, allocations: 51.21 MB / 411.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.009691/0.1065, allocations: 9.066 MB / 420.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.1113, allocations: 2.524 MB / 422.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1125, allocations: 31.94 kB / 422.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1602/0.2727, allocations: 367.5 kB / 423.1 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.2743, allocations: 0.6644 MB / 423.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.2746, allocations: 85.12 kB / 423.9 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.2762, allocations: 2.19 MB / 426 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.2766, allocations: 312.6 kB / 426.4 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.277, allocations: 438.9 kB / 426.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.2776, allocations: 0.7803 MB / 427.6 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2777, allocations: 58.81 kB / 427.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.2784, allocations: 385.1 kB / 428 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.2788, allocations: 0.7038 MB / 428.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.2794, allocations: 0.8637 MB / 429.6 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.2811, allocations: 2.622 MB / 432.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2811, allocations: 3.938 kB / 432.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2812, allocations: 0 / 432.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-05/0.2812, allocations: 0 / 432.2 MB, free: 34.88 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.002642/0.2839, allocations: 2.144 MB / 434.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2839, allocations: 9.844 kB / 434.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.2882, allocations: 1.483 MB / 435.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.2895, allocations: 0.8555 MB / 436.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.2896, allocations: 76.84 kB / 436.8 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005791/0.2902, allocations: 257.6 kB / 437 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.2953, allocations: 5.037 MB / 442 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.2954, allocations: 30.38 kB / 442.1 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.2955, allocations: 63.66 kB / 442.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.297, allocations: 1.154 MB / 443.3 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005668/0.3027, allocations: 4.302 MB / 447.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.3197, allocations: 20.65 MB / 468.2 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3212, allocations: 1.336 MB / 469.6 MB, free: 28.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.3218, allocations: 450.3 kB / 470 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.3218, allocations: 5.5 kB / 470 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3219, allocations: 45.03 kB / 470.1 MB, free: 28.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 3.707e-06/0.3219, allocations: 0 / 470.1 MB, free: 28.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.00565/0.3275, allocations: 3.955 MB / 474 MB, free: 26.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.3277, allocations: 139.8 kB / 474.2 MB, free: 26.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.3311, allocations: 2.395 MB / 476.6 MB, free: 25.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.3313, allocations: 39.19 kB / 476.6 MB, free: 25.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009717/0.3322, allocations: 1.758 MB / 478.4 MB, free: 23.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.3326, allocations: 457.2 kB / 478.8 MB, free: 23.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009019/0.3335, allocations: 0.8216 MB / 479.6 MB, free: 22.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3337, allocations: 354.5 kB / 480 MB, free: 22.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.3357, allocations: 1.278 MB / 481.2 MB, free: 22.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.3384, allocations: 3.906 MB / 485.2 MB, free: 18.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/0.3439, allocations: 5.661 MB / 490.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/0.344, allocations: 26.78 kB / 490.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008686/0.3527, allocations: 4.968 MB / 495.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.3528, allocations: 44.61 kB / 495.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001118/0.3539, allocations: 0.7645 MB / 496.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.3541, allocations: 120 kB / 496.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.3571, allocations: 0.9427 MB / 497.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001819/0.3573, allocations: 179.1 kB / 497.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.3604, allocations: 222.3 kB / 498.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006756/0.3611, allocations: 259.5 kB / 498.3 MB, free: 8.969 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.002413/0.3635, allocations: 1.2 MB / 499.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/0.3641, allocations: 197.3 kB / 499.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.3646, allocations: 264 kB / 500 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001045/0.3657, allocations: 0.7125 MB / 0.489 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3657, allocations: 0.6094 kB / 0.489 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3657, allocations: 8.031 kB / 0.489 GB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.3715, allocations: 3.206 MB / 0.4921 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.3716, allocations: 15.61 kB / 0.4921 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.3721, allocations: 159.9 kB / 0.4923 GB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.995e-05/0.3722, allocations: 15.98 kB / 0.4923 GB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-05/0.3723, allocations: 35.81 kB / 0.4923 GB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/0.3723, allocations: 22.23 kB / 0.4923 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.3723, allocations: 11.94 kB / 0.4923 GB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.3743, allocations: 1.714 MB / 0.494 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.3748, allocations: 274.6 kB / 0.4943 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.3751, allocations: 29.95 kB / 0.4943 GB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/0.3758, allocations: 47.41 kB / 0.4943 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3759, allocations: 81.56 kB / 0.4944 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.376, allocations: 38.86 kB / 0.4945 GB, free: 1.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002535/0.3785, allocations: 1.485 MB / 0.4959 GB, free: 148 kB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3786, allocations: 0 / 0.4959 GB, free: 148 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.004044/0.3826, allocations: 0.5141 MB / 0.4964 GB, free: 15.63 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.0004397/0.3831, allocations: 199.1 kB / 0.4966 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.3876, allocations: 2.787 MB / 0.4993 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.3877, allocations: 4.375 kB / 0.4993 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.3884, allocations: 0.5383 MB / 0.4999 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.39, allocations: 203.7 kB / 0.5001 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.3976, allocations: 5.581 MB / 0.5055 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.3994, allocations: 1.919 MB / 0.5074 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003028/0.4025, allocations: 1.405 MB / 0.5087 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.4028, allocations: 147.4 kB / 0.5089 GB, free: 2.699 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4029, allocations: 4 kB / 0.5089 GB, free: 2.695 MB / 382.1 MB Notification: Performance of Templates: time 0.02815/0.431, allocations: 15.59 MB / 0.5241 GB, free: 3.219 MB / 398.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)