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.0009277/0.0009277, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009682/0.0009682, allocations: 177 kB / 23.36 MB, free: 1.129 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.9185/0.9185, allocations: 177.2 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.02554/0.02554, allocations: 6.212 MB / 266.5 MB, free: 6.961 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.253e-06/1.253e-06, allocations: 0 / 284.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.084e-05, allocations: 6.312 kB / 284.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.1103/0.1103, allocations: 5.312 MB / 290.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.1134, allocations: 1.988 MB / 292.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.1139, allocations: 22.53 kB / 292.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.1147, allocations: 442.5 kB / 292.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.116, allocations: 0.739 MB / 293.3 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1162, allocations: 103.7 kB / 293.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1177, allocations: 1.557 MB / 295 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.1183, allocations: 395.6 kB / 295.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000901/0.1192, allocations: 0.7205 MB / 296.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009999/0.1202, allocations: 0.7146 MB / 296.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.1204, allocations: 79.91 kB / 296.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.121, allocations: 327.8 kB / 297.2 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.1215, allocations: 0.7427 MB / 297.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.122, allocations: 427.4 kB / 298.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.1237, allocations: 1.796 MB / 300.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1237, allocations: 1.375 kB / 300.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1238, allocations: 0 / 300.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.459e-05/0.1238, allocations: 3.938 kB / 300.1 MB, free: 16.44 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.002398/0.1262, allocations: 1.956 MB / 302.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1263, allocations: 12.83 kB / 302.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.128, allocations: 0.6609 MB / 302.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.1288, allocations: 0.6435 MB / 303.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.1289, allocations: 81.5 kB / 303.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.1293, allocations: 235.3 kB / 303.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.1313, allocations: 2.552 MB / 306.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.1314, allocations: 29.98 kB / 306.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1315, allocations: 60.06 kB / 306.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007823/0.1323, allocations: 1.007 MB / 307.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.1338, allocations: 1.319 MB / 308.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/0.1425, allocations: 17.15 MB / 325.8 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.143, allocations: 447.2 kB / 326.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1431, allocations: 112.4 kB / 326.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1432, allocations: 19.66 kB / 326.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1432, allocations: 46.55 kB / 326.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 3.086e-06/0.1432, allocations: 0 / 326.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.001935/0.1451, allocations: 1.37 MB / 327.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1452, allocations: 148.4 kB / 328 MB, free: 5.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1463, allocations: 1.668 MB / 329.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.1464, allocations: 41.69 kB / 329.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.147, allocations: 1.782 MB / 331.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.1472, allocations: 464.4 kB / 331.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.1478, allocations: 0.7592 MB / 332.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.1479, allocations: 337.9 kB / 333 MB, free: 496 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.1483, allocations: 461.8 kB / 333.5 MB, free: 28 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.1497, allocations: 2.951 MB / 336.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.1521, allocations: 3.895 MB / 340.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.1521, allocations: 28 kB / 340.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.002573/0.1547, allocations: 2.735 MB / 343.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.1547, allocations: 44.97 kB / 343.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/0.155, allocations: 302.3 kB / 343.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.1551, allocations: 124 kB / 343.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.1565, allocations: 0.9161 MB / 344.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.614e-05/0.1566, allocations: 179.3 kB / 344.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.1577, allocations: 183.7 kB / 344.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.1579, allocations: 222.7 kB / 345 MB, free: 1.84 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.0006166/0.1585, allocations: 451.7 kB / 345.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1587, allocations: 111.9 kB / 345.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1589, allocations: 205.3 kB / 345.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002363/0.1591, allocations: 243 kB / 346 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1591, allocations: 3.938 kB / 346 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1592, allocations: 11.98 kB / 346 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.1614, allocations: 2.021 MB / 348 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.1614, allocations: 12 kB / 348 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.1616, allocations: 139.9 kB / 348.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.1616, allocations: 15.94 kB / 348.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.1616, allocations: 28.73 kB / 348.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.1617, allocations: 15.94 kB / 348.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.1617, allocations: 15.94 kB / 348.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.1623, allocations: 1.21 MB / 349.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1625, allocations: 182.5 kB / 349.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1626, allocations: 27.94 kB / 349.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.1629, allocations: 27.97 kB / 349.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.163, allocations: 83.66 kB / 349.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.163, allocations: 32 kB / 349.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005488/0.1636, allocations: 0.626 MB / 350.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1636, allocations: 0 / 350.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001808/0.1654, allocations: 0.496 MB / 350.9 MB, free: 11.56 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.0002852/0.1657, allocations: 172 kB / 351.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1673, allocations: 1.579 MB / 352.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.955e-05/0.1674, allocations: 51.94 kB / 352.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.1676, allocations: 253 kB / 353 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.1683, allocations: 187.1 kB / 353.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.1722, allocations: 3.806 MB / 357 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.1727, allocations: 0.596 MB / 357.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006552/0.1733, allocations: 307.9 kB / 357.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.1737, allocations: 315.3 kB / 358.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1737, allocations: 0 / 358.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of Templates: time 0.02069/0.1944, allocations: 14.13 MB / 372.3 MB, free: 6.176 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.72939175600186]