Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004557/0.004557, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001009/0.001009, allocations: 193 kB / 16.67 MB, free: 5.934 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.347/1.347, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04145/0.04145, allocations: 8.004 MB / 298.5 MB, free: 7.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 413.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 51.21 MB / 464.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.00654/0.1118, allocations: 5.584 MB / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.1157, allocations: 1.924 MB / 471.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.1163, allocations: 23.88 kB / 471.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1175, allocations: 414.1 kB / 472.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.119, allocations: 0.7119 MB / 472.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1193, allocations: 91.77 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.121, allocations: 1.541 MB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.1214, allocations: 314.1 kB / 474.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.1219, allocations: 0.4978 MB / 475.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.1227, allocations: 0.7043 MB / 476.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1229, allocations: 83.94 kB / 476.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.1235, allocations: 395.3 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.1242, allocations: 0.7128 MB / 477.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.125, allocations: 0.8728 MB / 478.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.128, allocations: 2.788 MB / 480.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.128, allocations: 0 / 480.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.128, allocations: 0 / 480.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.1281, allocations: 0 / 480.9 MB, free: 2.895 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003483/0.1316, allocations: 2.202 MB / 483.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1316, allocations: 8.031 kB / 483.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.1363, allocations: 1.505 MB / 484.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1379, allocations: 0.855 MB / 485.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.1379, allocations: 86.03 kB / 485.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006646/0.1386, allocations: 255.7 kB / 485.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/0.145, allocations: 5.038 MB / 490.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.145, allocations: 27.8 kB / 490.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.1452, allocations: 67.84 kB / 491 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.1469, allocations: 1.146 MB / 492.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.1533, allocations: 4.293 MB / 496.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3324/0.4858, allocations: 20.63 MB / 0.5049 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.488, allocations: 1.327 MB / 0.5062 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009158/0.4889, allocations: 444.9 kB / 0.5066 GB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.489, allocations: 8.312 kB / 0.5066 GB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.4891, allocations: 41.75 kB / 0.5067 GB, free: 29.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.897e-06/0.4891, allocations: 0 / 0.5067 GB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.007571/0.4966, allocations: 4.076 MB / 0.5107 GB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.4967, allocations: 141 kB / 0.5108 GB, free: 27.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.5009, allocations: 2.408 MB / 0.5131 GB, free: 27.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.501, allocations: 40.14 kB / 0.5132 GB, free: 27.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.5022, allocations: 1.837 MB / 0.515 GB, free: 26.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.5027, allocations: 480.2 kB / 0.5154 GB, free: 25.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.5037, allocations: 0.8286 MB / 0.5162 GB, free: 25.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5038, allocations: 359.2 kB / 0.5166 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.5057, allocations: 1.275 MB / 0.5178 GB, free: 24.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.5088, allocations: 3.902 MB / 0.5216 GB, free: 20.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.5139, allocations: 5.656 MB / 0.5272 GB, free: 16.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.757e-05/0.514, allocations: 27.69 kB / 0.5272 GB, free: 16.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006276/0.5203, allocations: 4.971 MB / 0.532 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.5204, allocations: 45.84 kB / 0.5321 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007859/0.5212, allocations: 0.7694 MB / 0.5328 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.5213, allocations: 125.6 kB / 0.533 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.5235, allocations: 0.938 MB / 0.5339 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.5237, allocations: 181.5 kB / 0.534 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.5261, allocations: 221.2 kB / 0.5343 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.5263, allocations: 257.1 kB / 0.5345 GB, free: 13.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001214/0.5275, allocations: 1.215 MB / 0.5357 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.5278, allocations: 217.2 kB / 0.5359 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.5283, allocations: 261.5 kB / 0.5361 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007335/0.529, allocations: 0.7123 MB / 0.5368 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.529, allocations: 4 kB / 0.5368 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.529, allocations: 3.703 kB / 0.5368 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.533, allocations: 3.205 MB / 0.54 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.533, allocations: 8 kB / 0.54 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.5334, allocations: 159 kB / 0.5401 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5335, allocations: 16 kB / 0.5402 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.5335, allocations: 35.77 kB / 0.5402 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.5335, allocations: 23.98 kB / 0.5402 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5336, allocations: 19.94 kB / 0.5402 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.5348, allocations: 1.711 MB / 0.5419 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.5352, allocations: 283.5 kB / 0.5422 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.5353, allocations: 27.94 kB / 0.5422 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.5359, allocations: 55.78 kB / 0.5422 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5361, allocations: 79.67 kB / 0.5423 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.5361, allocations: 40 kB / 0.5424 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.5376, allocations: 1.486 MB / 0.5438 GB, free: 4.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5376, allocations: 0 / 0.5438 GB, free: 4.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002942/0.5406, allocations: 0.5114 MB / 0.5443 GB, free: 3.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.0003378/0.5409, allocations: 194.6 kB / 0.5445 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003462/0.5444, allocations: 2.808 MB / 0.5472 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.5444, allocations: 1.688 kB / 0.5472 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.5449, allocations: 0.5459 MB / 0.5478 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5462, allocations: 202.6 kB / 0.548 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.5539, allocations: 4.665 MB / 0.5525 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.5556, allocations: 1.93 MB / 0.5544 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002821/0.5584, allocations: 1.408 MB / 0.5558 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5588, allocations: 147.4 kB / 0.5559 GB, free: 7.863 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5588, allocations: 0 / 0.5559 GB, free: 7.863 MB / 398.1 MB Notification: Performance of Templates: time 0.031/0.5898, allocations: 14.18 MB / 0.5698 GB, free: 9.816 MB / 414.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)