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/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 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.001219/0.001219, allocations: 106 kB / 16.29 MB, free: 6.43 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.001342/0.001342, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04239/0.04239, allocations: 7.989 MB / 299 MB, free: 7.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 361.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2391, allocations: 51.2 MB / 412.5 MB, free: 26.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007602/0.2467, allocations: 5.588 MB / 418.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.2509, allocations: 1.927 MB / 420 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.2516, allocations: 23.94 kB / 420 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2528, allocations: 406.2 kB / 420.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.2545, allocations: 0.6963 MB / 421.1 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.2548, allocations: 103.7 kB / 421.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.2565, allocations: 1.529 MB / 422.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.257, allocations: 326.1 kB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.2575, allocations: 0.4901 MB / 423.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008777/0.2584, allocations: 0.7082 MB / 424.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.2586, allocations: 80 kB / 424.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.2594, allocations: 399.3 kB / 424.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005582/0.2599, allocations: 0.7089 MB / 425.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.2606, allocations: 0.8728 MB / 426.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.2622, allocations: 2.776 MB / 429.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2622, allocations: 0 / 429.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2623, allocations: 0 / 429.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.2623, allocations: 0 / 429.1 MB, free: 10.07 MB / 302.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.00244/0.2647, allocations: 2.139 MB / 431.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.2648, allocations: 8.031 kB / 431.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.2689, allocations: 1.492 MB / 432.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.27, allocations: 0.8509 MB / 433.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.27, allocations: 89.97 kB / 433.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005976/0.2706, allocations: 247.7 kB / 433.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/0.275, allocations: 5.045 MB / 439 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.2751, allocations: 23.81 kB / 439 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.2753, allocations: 59.91 kB / 439.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.277, allocations: 1.154 MB / 440.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.2832, allocations: 4.305 MB / 444.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.3029, allocations: 20.6 MB / 465.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3046, allocations: 1.325 MB / 466.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.3051, allocations: 443.5 kB / 466.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3052, allocations: 4 kB / 466.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3052, allocations: 42.61 kB / 466.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=85): time 3.407e-06/0.3052, allocations: 3.938 kB / 466.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=114): time 0.005897/0.3111, allocations: 3.969 MB / 470.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3112, allocations: 140.5 kB / 471 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.3141, allocations: 2.397 MB / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.3142, allocations: 37.7 kB / 473.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.3153, allocations: 1.765 MB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.3157, allocations: 458.2 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008853/0.3166, allocations: 0.8213 MB / 476.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3167, allocations: 353.9 kB / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.3184, allocations: 1.281 MB / 478.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/0.3218, allocations: 3.9 MB / 482 MB, free: 2.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005956/0.3278, allocations: 5.653 MB / 487.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.317e-05/0.3279, allocations: 28 kB / 487.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.00753/0.3354, allocations: 4.96 MB / 492.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.3355, allocations: 44 kB / 492.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009833/0.3365, allocations: 0.7765 MB / 493.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.3366, allocations: 124.3 kB / 493.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.3392, allocations: 0.9396 MB / 494.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001377/0.3393, allocations: 183.8 kB / 494.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.3416, allocations: 231.5 kB / 494.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/0.3419, allocations: 252 kB / 495.2 MB, free: 3.68 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.001593/0.3435, allocations: 1.203 MB / 496.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.3438, allocations: 197.4 kB / 496.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.3443, allocations: 263.1 kB / 496.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009126/0.3452, allocations: 0.7152 MB / 497.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3452, allocations: 0 / 497.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3452, allocations: 7.984 kB / 497.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.3499, allocations: 3.199 MB / 0.489 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3499, allocations: 8.938 kB / 0.489 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.3504, allocations: 163.7 kB / 0.4892 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.3504, allocations: 12 kB / 0.4892 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.3505, allocations: 36.12 kB / 0.4892 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.3505, allocations: 15.94 kB / 0.4893 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.3505, allocations: 15.94 kB / 0.4893 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.3522, allocations: 1.729 MB / 0.491 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.3526, allocations: 270.3 kB / 0.4912 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.3528, allocations: 28 kB / 0.4912 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.3534, allocations: 43.95 kB / 0.4913 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3536, allocations: 87.61 kB / 0.4914 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.3536, allocations: 47.92 kB / 0.4914 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.3555, allocations: 1.478 MB / 0.4929 GB, free: 9.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3555, allocations: 0 / 0.4929 GB, free: 9.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002682/0.3582, allocations: 0.5117 MB / 0.4934 GB, free: 9.289 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.000335/0.3585, allocations: 186.9 kB / 0.4935 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.3623, allocations: 2.822 MB / 0.4963 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.3623, allocations: 4 kB / 0.4963 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.363, allocations: 0.5378 MB / 0.4968 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.3644, allocations: 191.8 kB / 0.497 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.3706, allocations: 4.589 MB / 0.5015 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1532/0.5238, allocations: 1.923 MB / 0.5034 GB, free: 88.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002903/0.5267, allocations: 1.414 MB / 0.5047 GB, free: 88.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.527, allocations: 146.3 kB / 0.5049 GB, free: 88.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.527, allocations: 0 / 0.5049 GB, free: 88.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02587/0.5529, allocations: 16.12 MB / 0.5206 GB, free: 80.48 MB / 382.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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)