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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001549/0.001549, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04722/0.04722, allocations: 7.982 MB / 298.7 MB, free: 7.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 360.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1992, allocations: 51.2 MB / 412 MB, free: 26.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006591/0.2058, allocations: 9.039 MB / 421 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.2097, allocations: 2.577 MB / 423.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.2106, allocations: 35.94 kB / 423.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.2114, allocations: 378.7 kB / 424 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2124, allocations: 0.65 MB / 424.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2127, allocations: 119.7 kB / 424.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.2138, allocations: 1.58 MB / 426.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.2141, allocations: 338.1 kB / 426.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.2144, allocations: 0.5057 MB / 427.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.215, allocations: 0.8212 MB / 428 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.2151, allocations: 80 kB / 428.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.2156, allocations: 443.2 kB / 428.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.216, allocations: 0.7322 MB / 429.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.2164, allocations: 0.8923 MB / 430.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2176, allocations: 2.142 MB / 432.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2176, allocations: 8 kB / 432.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2176, allocations: 0 / 432.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.2176, allocations: 0 / 432.3 MB, free: 6.535 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.00227/0.2199, allocations: 2.139 MB / 434.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.22, allocations: 12.02 kB / 434.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.224, allocations: 1.48 MB / 435.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.225, allocations: 0.8587 MB / 436.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.2251, allocations: 89.98 kB / 436.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.2257, allocations: 243.8 kB / 437.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005916/0.2316, allocations: 5.045 MB / 442.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/0.2317, allocations: 27.72 kB / 442.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.2319, allocations: 63.91 kB / 442.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001908/0.2338, allocations: 1.154 MB / 443.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007172/0.241, allocations: 4.304 MB / 447.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.263, allocations: 20.68 MB / 468.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2648, allocations: 1.337 MB / 469.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.2654, allocations: 447.9 kB / 470.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2655, allocations: 4 kB / 470.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2655, allocations: 42.56 kB / 470.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 2.925e-06/0.2655, allocations: 0 / 470.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=117): time 0.01227/0.2778, allocations: 4.476 MB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.2779, allocations: 144.8 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.281, allocations: 2.397 MB / 477.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.2811, allocations: 45.62 kB / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.2824, allocations: 1.757 MB / 479 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.2828, allocations: 458.2 kB / 479.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2838, allocations: 0.8253 MB / 480.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.284, allocations: 357.9 kB / 480.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.2859, allocations: 1.312 MB / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.2899, allocations: 3.919 MB / 485.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/0.2967, allocations: 5.717 MB / 491.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.702e-05/0.2968, allocations: 28 kB / 491.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007921/0.3047, allocations: 5.037 MB / 496.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.3048, allocations: 46.5 kB / 496.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001246/0.306, allocations: 0.8425 MB / 497.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.3062, allocations: 124 kB / 497.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.309, allocations: 0.9514 MB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.3092, allocations: 179.3 kB / 498.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.3115, allocations: 219.8 kB / 499 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.3118, allocations: 256 kB / 499.2 MB, free: 15.27 MB / 382.1 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.001664/0.3135, allocations: 1.207 MB / 0.4887 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.3139, allocations: 205.2 kB / 0.4889 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.3143, allocations: 263.1 kB / 0.4892 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001173/0.3155, allocations: 0.7954 MB / 0.4899 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3155, allocations: 4 kB / 0.49 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3155, allocations: 3.984 kB / 0.49 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/0.321, allocations: 3.342 MB / 0.4932 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.321, allocations: 4 kB / 0.4932 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.3218, allocations: 179.7 kB / 0.4934 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.3218, allocations: 8 kB / 0.4934 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.3219, allocations: 20 kB / 0.4934 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.3219, allocations: 15.92 kB / 0.4934 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3219, allocations: 7.938 kB / 0.4934 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.3241, allocations: 1.773 MB / 0.4952 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.3247, allocations: 386.2 kB / 0.4955 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.3249, allocations: 20 kB / 0.4956 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.3257, allocations: 63.86 kB / 0.4956 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3258, allocations: 63.8 kB / 0.4957 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.3259, allocations: 39.97 kB / 0.4957 GB, free: 6.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002048/0.3279, allocations: 1.474 MB / 0.4972 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.328, allocations: 4 kB / 0.4972 GB, free: 5.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002635/0.3306, allocations: 0.5429 MB / 0.4977 GB, free: 4.645 MB / 382.1 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.0004113/0.331, allocations: 190.9 kB / 0.4979 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004787/0.3358, allocations: 3.196 MB / 0.501 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3358, allocations: 0 / 0.501 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.3367, allocations: 0.6475 MB / 0.5016 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.338, allocations: 192.4 kB / 0.5018 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/0.4932, allocations: 5.817 MB / 0.5075 GB, free: 89.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.4948, allocations: 1.921 MB / 0.5094 GB, free: 88.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/0.4955, allocations: 189.6 kB / 0.5096 GB, free: 88.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4956, allocations: 3.812 kB / 0.5096 GB, free: 88.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03696/0.5325, allocations: 31.1 MB / 0.5399 GB, free: 62.54 MB / 382.1 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)