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.01053/0.01053, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002089/0.002089, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.82/1.82, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2489/0.2489, allocations: 7.981 MB / 298.6 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.89 kB / 360.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1681, allocations: 51.21 MB / 411.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.01183/0.1799, allocations: 9.047 MB / 420.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.1871, allocations: 2.621 MB / 423.5 MB, free: 216 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.189, allocations: 31.94 kB / 423.5 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3263/0.5154, allocations: 371.9 kB / 423.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.5183, allocations: 0.662 MB / 424.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.5189, allocations: 116.6 kB / 424.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.5221, allocations: 2.185 MB / 426.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.5228, allocations: 317.7 kB / 427.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009217/0.5237, allocations: 444.9 kB / 427.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.5248, allocations: 0.7841 MB / 428.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.525, allocations: 53.72 kB / 428.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.5261, allocations: 438.6 kB / 428.8 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.5267, allocations: 0.7019 MB / 429.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.5276, allocations: 0.8692 MB / 430.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.53, allocations: 2.12 MB / 432.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.53, allocations: 3.375 kB / 432.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.53, allocations: 1.188 kB / 432.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-05/0.5301, allocations: 0 / 432.5 MB, free: 34.53 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.00453/0.5346, allocations: 2.14 MB / 434.7 MB, free: 33.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.5347, allocations: 10.06 kB / 434.7 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.5395, allocations: 1.484 MB / 436.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.5412, allocations: 0.8537 MB / 437 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.5413, allocations: 82.12 kB / 437.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007155/0.542, allocations: 255.5 kB / 437.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.5492, allocations: 5.049 MB / 442.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.5493, allocations: 27.16 kB / 442.4 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.5495, allocations: 67.16 kB / 442.5 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.5514, allocations: 1.152 MB / 443.6 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007623/0.559, allocations: 4.301 MB / 447.9 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02475/0.5838, allocations: 20.66 MB / 468.6 MB, free: 29.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.5862, allocations: 1.346 MB / 469.9 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.587, allocations: 450.6 kB / 470.4 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.5871, allocations: 5.188 kB / 470.4 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.5871, allocations: 38.97 kB / 470.4 MB, free: 28.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 5.591e-06/0.5872, allocations: 11.92 kB / 470.4 MB, free: 28.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01448/0.6016, allocations: 4.465 MB / 474.9 MB, free: 26.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6018, allocations: 141.1 kB / 475 MB, free: 25.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005186/0.607, allocations: 2.389 MB / 477.4 MB, free: 25.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.6072, allocations: 39.89 kB / 477.5 MB, free: 24.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.6089, allocations: 1.762 MB / 479.2 MB, free: 23.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000672/0.6096, allocations: 458.5 kB / 479.7 MB, free: 23.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.6112, allocations: 0.8273 MB / 480.5 MB, free: 22.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.6115, allocations: 355.3 kB / 480.8 MB, free: 22.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.6143, allocations: 1.309 MB / 482.2 MB, free: 22.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004852/0.6191, allocations: 3.925 MB / 486.1 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009374/0.6285, allocations: 5.718 MB / 491.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001773/0.6288, allocations: 26.53 kB / 491.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01375/0.6425, allocations: 5.039 MB / 496.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.6427, allocations: 48 kB / 496.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001524/0.6442, allocations: 0.8441 MB / 497.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.6445, allocations: 120 kB / 497.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.6483, allocations: 0.9502 MB / 498.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002052/0.6485, allocations: 184 kB / 499 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/0.6525, allocations: 212.1 kB / 499.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006806/0.6532, allocations: 259.1 kB / 499.5 MB, free: 8.488 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.003359/0.6566, allocations: 1.202 MB / 0.4889 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/0.6573, allocations: 202.1 kB / 0.4891 GB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.658, allocations: 263 kB / 0.4894 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001475/0.6595, allocations: 0.7931 MB / 0.4901 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.6595, allocations: 0 / 0.4901 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.6595, allocations: 8.828 kB / 0.4902 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.6673, allocations: 3.353 MB / 0.4934 GB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.6674, allocations: 4 kB / 0.4934 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.6682, allocations: 175.7 kB / 0.4936 GB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.6682, allocations: 8 kB / 0.4936 GB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.6683, allocations: 25.17 kB / 0.4936 GB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.6683, allocations: 8 kB / 0.4936 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6683, allocations: 11.88 kB / 0.4936 GB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.6711, allocations: 1.781 MB / 0.4954 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.6721, allocations: 375.2 kB / 0.4957 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6723, allocations: 19.98 kB / 0.4958 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.6732, allocations: 63.06 kB / 0.4958 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6733, allocations: 67.8 kB / 0.4959 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.6734, allocations: 35.98 kB / 0.4959 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002757/0.6762, allocations: 1.478 MB / 0.4974 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6762, allocations: 0 / 0.4974 GB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00556/0.6818, allocations: 0.5487 MB / 0.4979 GB, free: 14.73 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.0006958/0.6825, allocations: 189.1 kB / 0.4981 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006184/0.6887, allocations: 2.931 MB / 0.5009 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.6888, allocations: 0 / 0.5009 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6899, allocations: 0.6649 MB / 0.5016 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.6922, allocations: 185.4 kB / 0.5018 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.7042, allocations: 5.815 MB / 0.5074 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.7066, allocations: 1.924 MB / 0.5093 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/0.7075, allocations: 187.4 kB / 0.5095 GB, free: 2.742 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.7075, allocations: 3.938 kB / 0.5095 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.06624/0.7738, allocations: 31.1 MB / 0.5399 GB, free: 3.699 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)