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.001117/0.001117, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001091/0.001091, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04264/0.04264, allocations: 8.006 MB / 299.1 MB, free: 7.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.91 kB / 361.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2191, allocations: 51.21 MB / 412.5 MB, free: 26.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004935/0.2241, allocations: 5.546 MB / 418 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2271, allocations: 2.025 MB / 420.1 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.2274, allocations: 19.94 kB / 420.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.2282, allocations: 410.2 kB / 420.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.2293, allocations: 0.7001 MB / 421.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.2295, allocations: 139.6 kB / 421.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2307, allocations: 1.529 MB / 422.8 MB, free: 16.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.231, allocations: 318.1 kB / 423.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.2314, allocations: 0.5017 MB / 423.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.2319, allocations: 0.716 MB / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2321, allocations: 80 kB / 424.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.2327, allocations: 435.2 kB / 424.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.233, allocations: 0.7205 MB / 425.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.2335, allocations: 0.869 MB / 426.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.2351, allocations: 2.649 MB / 429.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2351, allocations: 4 kB / 429.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2352, allocations: 0 / 429.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.2352, allocations: 0 / 429.1 MB, free: 10.06 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.002381/0.2376, allocations: 2.151 MB / 431.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2376, allocations: 8.031 kB / 431.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/0.2421, allocations: 1.48 MB / 432.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2432, allocations: 0.851 MB / 433.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.2433, allocations: 89.98 kB / 433.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005749/0.2439, allocations: 251.6 kB / 433.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004441/0.2483, allocations: 5.041 MB / 439 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.2484, allocations: 31.72 kB / 439 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.2486, allocations: 67.89 kB / 439.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/0.2503, allocations: 1.154 MB / 440.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006364/0.2567, allocations: 4.3 MB / 444.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/0.2772, allocations: 20.67 MB / 465.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.279, allocations: 1.333 MB / 466.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.2796, allocations: 447.2 kB / 467 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.2797, allocations: 7.984 kB / 467 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2797, allocations: 42.5 kB / 467 MB, free: 2.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 3.286e-06/0.2797, allocations: 0 / 467 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01223/0.292, allocations: 4.484 MB / 471.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.2921, allocations: 136.8 kB / 471.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.2955, allocations: 2.397 MB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.2956, allocations: 45.69 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.2969, allocations: 1.765 MB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.2974, allocations: 458.3 kB / 476.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.2987, allocations: 0.8214 MB / 477.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2988, allocations: 357.9 kB / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.3008, allocations: 1.312 MB / 478.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.3046, allocations: 3.919 MB / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.3106, allocations: 5.72 MB / 488.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/0.3107, allocations: 31.94 kB / 488.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008206/0.319, allocations: 5.027 MB / 493.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/0.3191, allocations: 44 kB / 493.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001233/0.3203, allocations: 0.8506 MB / 494.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.3205, allocations: 127.9 kB / 494.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.3235, allocations: 0.9513 MB / 495.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/0.3236, allocations: 183.2 kB / 495.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.3261, allocations: 215.6 kB / 495.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/0.3265, allocations: 256 kB / 496.1 MB, free: 2.793 MB / 366.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.001659/0.3282, allocations: 1.203 MB / 497.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.3286, allocations: 197.4 kB / 497.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.3291, allocations: 267.1 kB / 497.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001112/0.3302, allocations: 0.7955 MB / 498.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3302, allocations: 4 kB / 498.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3303, allocations: 3.984 kB / 498.5 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.3361, allocations: 3.334 MB / 0.4901 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.3362, allocations: 4.438 kB / 0.4901 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.3369, allocations: 175.7 kB / 0.4903 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.337, allocations: 8 kB / 0.4903 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.337, allocations: 23.98 kB / 0.4903 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.3371, allocations: 15.88 kB / 0.4903 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3371, allocations: 4 kB / 0.4903 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.3393, allocations: 1.791 MB / 0.4921 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/0.34, allocations: 382.3 kB / 0.4925 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.3404, allocations: 23.98 kB / 0.4925 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/0.3412, allocations: 59.86 kB / 0.4925 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3414, allocations: 67.8 kB / 0.4926 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.3415, allocations: 32 kB / 0.4926 GB, free: 10.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00226/0.3437, allocations: 1.482 MB / 0.4941 GB, free: 8.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3438, allocations: 0 / 0.4941 GB, free: 8.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002823/0.3466, allocations: 0.539 MB / 0.4946 GB, free: 8.168 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.000448/0.347, allocations: 183 kB / 0.4948 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.3518, allocations: 3.196 MB / 0.4979 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.3518, allocations: 0 / 0.4979 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.3527, allocations: 0.6552 MB / 0.4985 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.3541, allocations: 196 kB / 0.4987 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/0.5054, allocations: 4.876 MB / 0.5035 GB, free: 89.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.507, allocations: 1.933 MB / 0.5054 GB, free: 89.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.5075, allocations: 183.1 kB / 0.5055 GB, free: 89.16 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5076, allocations: 0 / 0.5055 GB, free: 89.16 MB / 382.1 MB Notification: Performance of Templates: time 0.03808/0.5456, allocations: 31.11 MB / 0.5359 GB, free: 66.07 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)