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.0008734/0.0008736, allocations: 92 kB / 15.36 MB, free: 0.7383 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.006851/0.00685, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1643/0.1643, allocations: 7.978 MB / 299.4 MB, free: 3.227 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004938, allocations: 12 kB / 362.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 52.21 MB / 414.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.008969/0.1332, allocations: 8.576 MB / 423.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.3456, allocations: 2.566 MB / 425.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.3467, allocations: 27.88 kB / 425.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.3473, allocations: 216.9 kB / 426 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.3487, allocations: 0.6763 MB / 426.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.3491, allocations: 112.7 kB / 426.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.3509, allocations: 2.188 MB / 428.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.3514, allocations: 393.4 kB / 429.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.3519, allocations: 447 kB / 429.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.3528, allocations: 0.7799 MB / 430.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.3529, allocations: 53.66 kB / 430.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.3536, allocations: 443 kB / 431 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.3541, allocations: 0.7135 MB / 431.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000589/0.3547, allocations: 0.8942 MB / 432.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3568, allocations: 2.605 MB / 435.2 MB, free: 32.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3568, allocations: 0 / 435.2 MB, free: 32.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.3568, allocations: 0 / 435.2 MB, free: 32.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.3569, allocations: 0 / 435.2 MB, free: 32.85 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.002751/0.3596, allocations: 1.776 MB / 437 MB, free: 31.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3597, allocations: 10.97 kB / 437 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.3646, allocations: 1.531 MB / 438.6 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.3661, allocations: 0.8561 MB / 439.4 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.3661, allocations: 82.42 kB / 439.5 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007023/0.3669, allocations: 255.7 kB / 439.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006066/0.3729, allocations: 5.047 MB / 444.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.373, allocations: 24.38 kB / 444.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.3732, allocations: 63.47 kB / 444.9 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001592/0.3748, allocations: 1.157 MB / 446 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006201/0.381, allocations: 4.293 MB / 450.3 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.3997, allocations: 20.68 MB / 471 MB, free: 28.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.4015, allocations: 1.343 MB / 472.3 MB, free: 27.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.4021, allocations: 456.5 kB / 472.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4022, allocations: 5.781 kB / 472.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4022, allocations: 42.34 kB / 472.8 MB, free: 27.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 4.068e-06/0.4022, allocations: 0 / 472.8 MB, free: 27.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.0122/0.4144, allocations: 4.457 MB / 477.3 MB, free: 25.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.4145, allocations: 138.7 kB / 477.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.4184, allocations: 2.39 MB / 479.8 MB, free: 23.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.4186, allocations: 41.16 kB / 479.9 MB, free: 23.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4197, allocations: 1.763 MB / 481.6 MB, free: 22.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.4201, allocations: 463.1 kB / 482.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004611/0.4206, allocations: 352.6 kB / 482.4 MB, free: 22.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4208, allocations: 355.6 kB / 482.8 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.4229, allocations: 1.306 MB / 484.1 MB, free: 21.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.4261, allocations: 3.924 MB / 488 MB, free: 17.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006599/0.4327, allocations: 5.717 MB / 493.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.4328, allocations: 26.59 kB / 493.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0101/0.4429, allocations: 5.037 MB / 498.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.4431, allocations: 44 kB / 498.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001229/0.4443, allocations: 0.8532 MB / 499.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.4445, allocations: 124 kB / 499.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.4475, allocations: 0.95 MB / 0.489 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001601/0.4477, allocations: 180 kB / 0.4892 GB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.4505, allocations: 222.7 kB / 0.4894 GB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004354/0.451, allocations: 261.3 kB / 0.4896 GB, free: 7.543 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.002107/0.4531, allocations: 1.197 MB / 0.4908 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.4536, allocations: 201.9 kB / 0.491 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.4543, allocations: 271.4 kB / 0.4913 GB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001197/0.4555, allocations: 0.796 MB / 0.492 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.4555, allocations: 0 / 0.492 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4555, allocations: 3.984 kB / 0.492 GB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.462, allocations: 3.353 MB / 0.4953 GB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.4621, allocations: 4 kB / 0.4953 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.4629, allocations: 176.1 kB / 0.4955 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/0.4629, allocations: 13.69 kB / 0.4955 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-05/0.463, allocations: 24.77 kB / 0.4955 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.463, allocations: 8 kB / 0.4955 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/0.463, allocations: 15.88 kB / 0.4956 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.4654, allocations: 1.776 MB / 0.4973 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.4663, allocations: 386.2 kB / 0.4977 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/0.4667, allocations: 17.41 kB / 0.4977 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.4677, allocations: 61.34 kB / 0.4977 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4679, allocations: 68.42 kB / 0.4978 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/0.4679, allocations: 41.31 kB / 0.4978 GB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00255/0.4705, allocations: 1.478 MB / 0.4993 GB, free: 13.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4705, allocations: 0 / 0.4993 GB, free: 13.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003993/0.4745, allocations: 0.5454 MB / 0.4998 GB, free: 13.12 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.00052/0.4751, allocations: 191.4 kB / 0.5 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004997/0.4801, allocations: 2.938 MB / 0.5029 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4801, allocations: 0 / 0.5029 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.481, allocations: 0.645 MB / 0.5035 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.4838, allocations: 192.1 kB / 0.5037 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/0.493, allocations: 5.608 MB / 0.5092 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.4954, allocations: 1.919 MB / 0.511 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00366/0.4991, allocations: 1.441 MB / 0.5124 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/0.4997, allocations: 155.4 kB / 0.5126 GB, free: 15.94 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4997, allocations: 0 / 0.5126 GB, free: 15.94 MB / 398.1 MB Notification: Performance of Templates: time 0.03394/0.5337, allocations: 16.53 MB / 0.5287 GB, free: 15.52 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)