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.0008883/0.0008886, allocations: 91.92 kB / 16.02 MB, free: 80 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.001305/0.001305, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.527/1.527, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1997/0.1997, allocations: 7.985 MB / 300.1 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 12 kB / 363 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09598, allocations: 52.2 MB / 415.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.009162/0.1052, allocations: 8.576 MB / 423.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.2935, allocations: 2.565 MB / 426.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.2946, allocations: 30.5 kB / 426.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.2952, allocations: 222.9 kB / 426.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.2966, allocations: 0.6702 MB / 427.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2969, allocations: 118.8 kB / 427.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.2986, allocations: 2.189 MB / 429.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.299, allocations: 388.7 kB / 430 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.2994, allocations: 447.8 kB / 430.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.3002, allocations: 0.7829 MB / 431.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.3003, allocations: 53.81 kB / 431.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.301, allocations: 442.1 kB / 431.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.3014, allocations: 0.7141 MB / 432.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.302, allocations: 0.8865 MB / 433.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.3035, allocations: 2.075 MB / 435.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3035, allocations: 3.938 kB / 435.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3035, allocations: 0 / 435.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.3035, allocations: 4 kB / 435.4 MB, free: 33.14 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.002265/0.3058, allocations: 1.778 MB / 437.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3058, allocations: 6.344 kB / 437.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.3105, allocations: 1.529 MB / 438.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3118, allocations: 0.8555 MB / 439.5 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.3119, allocations: 91.62 kB / 439.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006322/0.3125, allocations: 255 kB / 439.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/0.3176, allocations: 5.04 MB / 444.9 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.3177, allocations: 28.53 kB / 444.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.3178, allocations: 62.36 kB / 445 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001527/0.3194, allocations: 1.152 MB / 446.2 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005676/0.3251, allocations: 4.297 MB / 450.4 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.3422, allocations: 20.69 MB / 471.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3438, allocations: 1.345 MB / 472.5 MB, free: 27.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.3444, allocations: 448.2 kB / 472.9 MB, free: 27.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3444, allocations: 10.22 kB / 472.9 MB, free: 27.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3445, allocations: 41.38 kB / 473 MB, free: 27.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.497e-06/0.3445, allocations: 0 / 473 MB, free: 27.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01163/0.3561, allocations: 4.449 MB / 477.4 MB, free: 25.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3562, allocations: 137.8 kB / 477.6 MB, free: 25.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.3596, allocations: 2.391 MB / 479.9 MB, free: 24.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3597, allocations: 38.69 kB / 480 MB, free: 24.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000997/0.3607, allocations: 1.763 MB / 481.7 MB, free: 22.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.3611, allocations: 468.5 kB / 482.2 MB, free: 22.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.3615, allocations: 351 kB / 482.5 MB, free: 22.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3617, allocations: 352.9 kB / 482.9 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3637, allocations: 1.309 MB / 484.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.3666, allocations: 3.928 MB / 488.1 MB, free: 17.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005562/0.3722, allocations: 5.711 MB / 493.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.427e-05/0.3723, allocations: 31.38 kB / 493.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008566/0.3809, allocations: 5.04 MB / 498.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.381, allocations: 48 kB / 499 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001275/0.3823, allocations: 0.8429 MB / 499.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.3825, allocations: 120.7 kB / 499.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.3853, allocations: 0.9514 MB / 0.4891 GB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000145/0.3855, allocations: 187.5 kB / 0.4893 GB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.3881, allocations: 221.9 kB / 0.4895 GB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.3885, allocations: 255 kB / 0.4898 GB, free: 8.047 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.001816/0.3904, allocations: 1.206 MB / 0.4909 GB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.3908, allocations: 205.3 kB / 0.4911 GB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.3913, allocations: 259.2 kB / 0.4914 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001154/0.3925, allocations: 0.7961 MB / 0.4922 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3925, allocations: 0 / 0.4922 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3925, allocations: 7.984 kB / 0.4922 GB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/0.3982, allocations: 3.358 MB / 0.4954 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.3983, allocations: 4 kB / 0.4955 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.3991, allocations: 173.7 kB / 0.4956 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3991, allocations: 4 kB / 0.4956 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.3992, allocations: 27.98 kB / 0.4956 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.3992, allocations: 12.38 kB / 0.4957 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3992, allocations: 7.938 kB / 0.4957 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.4014, allocations: 1.785 MB / 0.4974 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/0.4021, allocations: 386.8 kB / 0.4978 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.4023, allocations: 16 kB / 0.4978 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007876/0.4031, allocations: 61.53 kB / 0.4979 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4033, allocations: 63.8 kB / 0.4979 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.4034, allocations: 41.47 kB / 0.498 GB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.4055, allocations: 1.482 MB / 0.4994 GB, free: 14.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4056, allocations: 4 kB / 0.4994 GB, free: 14.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003293/0.4089, allocations: 0.5442 MB / 0.4999 GB, free: 13.62 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.0004276/0.4093, allocations: 188.6 kB / 0.5001 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004713/0.414, allocations: 2.939 MB / 0.503 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4141, allocations: 0 / 0.503 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009082/0.415, allocations: 0.6506 MB / 0.5036 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.4175, allocations: 186.8 kB / 0.5038 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.4261, allocations: 5.853 MB / 0.5095 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.428, allocations: 1.928 MB / 0.5114 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.4287, allocations: 195.4 kB / 0.5116 GB, free: 1.586 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4287, allocations: 0 / 0.5116 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Templates: time 0.04701/0.4757, allocations: 30.76 MB / 0.5416 GB, free: 2.859 MB / 414.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)