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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 181 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9836/0.9836, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.02838/0.02838, allocations: 6.208 MB / 266.5 MB, free: 6.953 MB / 250.7 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 284.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.25e-05, allocations: 5.547 kB / 284.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.1096/0.1096, allocations: 5.357 MB / 290.2 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1127, allocations: 1.987 MB / 292.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.1131, allocations: 23.12 kB / 292.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008441/0.114, allocations: 438.8 kB / 292.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1152, allocations: 0.7401 MB / 293.4 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1154, allocations: 99.88 kB / 293.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1169, allocations: 1.55 MB / 295 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.1175, allocations: 395.3 kB / 295.4 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1186, allocations: 0.7218 MB / 296.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1196, allocations: 0.7145 MB / 296.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.1198, allocations: 80.31 kB / 296.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.1205, allocations: 338.2 kB / 297.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.121, allocations: 0.7425 MB / 298 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.1215, allocations: 425.8 kB / 298.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1233, allocations: 1.798 MB / 300.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1233, allocations: 1.062 kB / 300.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1233, allocations: 0 / 300.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.609e-05/0.1234, allocations: 0 / 300.2 MB, free: 16.17 MB / 266.7 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.00227/0.1256, allocations: 1.964 MB / 302.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1257, allocations: 13.08 kB / 302.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.1274, allocations: 0.6519 MB / 302.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.1282, allocations: 0.6437 MB / 303.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.1283, allocations: 87.25 kB / 303.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.1287, allocations: 230 kB / 303.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1306, allocations: 2.556 MB / 306.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.1306, allocations: 27.36 kB / 306.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1307, allocations: 64.19 kB / 306.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007658/0.1315, allocations: 1.013 MB / 307.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.1328, allocations: 1.323 MB / 308.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/0.1412, allocations: 17.14 MB / 325.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1417, allocations: 437.7 kB / 326.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1418, allocations: 120.5 kB / 326.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1419, allocations: 15.34 kB / 326.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1419, allocations: 38.56 kB / 326.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 3.206e-06/0.1419, allocations: 0 / 326.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.001945/0.1438, allocations: 1.378 MB / 327.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1439, allocations: 144.4 kB / 328.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.145, allocations: 1.68 MB / 329.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.1451, allocations: 41.69 kB / 329.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009073/0.146, allocations: 1.774 MB / 331.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.1462, allocations: 468.4 kB / 332 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.1467, allocations: 0.7592 MB / 332.8 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.1468, allocations: 337.9 kB / 333.1 MB, free: 232 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.1473, allocations: 457.4 kB / 333.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.1487, allocations: 2.955 MB / 336.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.1515, allocations: 3.892 MB / 340.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/0.1515, allocations: 31.94 kB / 340.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.002942/0.1545, allocations: 2.736 MB / 343.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.1545, allocations: 44 kB / 343.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002675/0.1548, allocations: 297.8 kB / 343.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.103e-05/0.1549, allocations: 124.1 kB / 343.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.1564, allocations: 0.9474 MB / 344.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.294e-05/0.1564, allocations: 183.9 kB / 344.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.1576, allocations: 183.7 kB / 344.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.1578, allocations: 224 kB / 345.1 MB, free: 1.543 MB / 298.7 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.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * 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.0006162/0.1584, allocations: 446.3 kB / 345.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.1586, allocations: 115.9 kB / 345.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.1588, allocations: 205.3 kB / 345.9 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002627/0.1591, allocations: 239 kB / 346.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1591, allocations: 7.938 kB / 346.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1591, allocations: 4.641 kB / 346.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.1613, allocations: 2.023 MB / 348.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.1614, allocations: 8.219 kB / 348.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.1616, allocations: 143.8 kB / 348.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.1616, allocations: 19.88 kB / 348.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1617, allocations: 33.52 kB / 348.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.1617, allocations: 15.94 kB / 348.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.1617, allocations: 15.94 kB / 348.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.1624, allocations: 1.207 MB / 349.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1626, allocations: 183.3 kB / 349.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.1629, allocations: 31.92 kB / 349.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.1632, allocations: 20 kB / 349.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.1633, allocations: 83.64 kB / 349.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.1633, allocations: 36 kB / 349.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005374/0.1639, allocations: 0.626 MB / 350.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1639, allocations: 0 / 350.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001866/0.1657, allocations: 0.4999 MB / 351.1 MB, free: 11.26 MB / 314.7 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.0002866/0.166, allocations: 164.7 kB / 351.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.1676, allocations: 1.586 MB / 352.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.07e-05/0.1677, allocations: 52.75 kB / 352.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1679, allocations: 256.2 kB / 353.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.1687, allocations: 185.5 kB / 353.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.1731, allocations: 3.793 MB / 357.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.1736, allocations: 0.5999 MB / 357.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007163/0.1743, allocations: 308.8 kB / 358 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.1747, allocations: 315.3 kB / 358.3 MB, free: 3.809 MB / 314.7 MB Notification: Performance of SimCode: time 2.364e-06/0.1747, allocations: 0 / 358.3 MB, free: 3.809 MB / 314.7 MB Notification: Performance of Templates: time 0.02197/0.1966, allocations: 14.13 MB / 372.4 MB, free: 5.891 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.820585092063993]