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.0008716/0.0008716, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008686/0.0008686, allocations: 169 kB / 23.27 MB, free: 1.219 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.8808/0.8808, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.02682/0.02682, allocations: 6.211 MB / 266.5 MB, free: 6.902 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.272e-06/1.272e-06, allocations: 0 / 338.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.172e-05, allocations: 2.312 kB / 338.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.003334/0.003346, allocations: 5.31 MB / 343.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.005215, allocations: 1.923 MB / 345.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.005409, allocations: 23.94 kB / 345.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.006019, allocations: 434 kB / 345.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.006693, allocations: 0.7386 MB / 346.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.006798, allocations: 103.6 kB / 346.6 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.007526, allocations: 1.545 MB / 348.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.007732, allocations: 369.4 kB / 348.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.00808, allocations: 0.7246 MB / 349.2 MB, free: 196 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.008618, allocations: 0.7557 MB / 350 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.049e-05/0.008708, allocations: 80 kB / 350.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.00906, allocations: 331.4 kB / 350.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.009472, allocations: 0.7476 MB / 351.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.009724, allocations: 426.2 kB / 351.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.01086, allocations: 1.797 MB / 353.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01087, allocations: 0 / 353.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01087, allocations: 4 kB / 353.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.01088, allocations: 4 kB / 353.4 MB, free: 12.05 MB / 282.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.001941/0.01282, allocations: 2.329 MB / 355.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01285, allocations: 15.89 kB / 355.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.01462, allocations: 0.8539 MB / 356.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.01545, allocations: 0.7251 MB / 357.3 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.0155, allocations: 78.41 kB / 357.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.01586, allocations: 235.5 kB / 357.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.01787, allocations: 2.937 MB / 360.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.01791, allocations: 27.77 kB / 360.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.01802, allocations: 71.89 kB / 360.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008066/0.01882, allocations: 1.01 MB / 361.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.02022, allocations: 1.32 MB / 363 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.03072, allocations: 24.5 MB / 387.5 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.03121, allocations: 396.8 kB / 387.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.03134, allocations: 147.9 kB / 388 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.03136, allocations: 15.94 kB / 388 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.03138, allocations: 45.39 kB / 388 MB, free: 7.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 2.355e-06/0.03138, allocations: 0 / 388 MB, free: 7.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.002165/0.03355, allocations: 1.587 MB / 389.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.0336, allocations: 140.5 kB / 389.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.03557, allocations: 2.158 MB / 391.9 MB, free: 3.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.03562, allocations: 37.7 kB / 392 MB, free: 3.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.03682, allocations: 1.982 MB / 394 MB, free: 1.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.03713, allocations: 492.4 kB / 394.4 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008837/0.03802, allocations: 0.9084 MB / 395.3 MB, free: 228 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.03816, allocations: 0.5043 MB / 395.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.03863, allocations: 339.8 kB / 396.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.04119, allocations: 4.262 MB / 400.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.04485, allocations: 5.147 MB / 405.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/0.04489, allocations: 28 kB / 405.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003933/0.04882, allocations: 3.244 MB / 408.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.04887, allocations: 44 kB / 408.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004246/0.0493, allocations: 357.8 kB / 409.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.784e-05/0.0494, allocations: 124 kB / 409.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.05122, allocations: 0.9045 MB / 410.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.05133, allocations: 187.4 kB / 410.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.05284, allocations: 187.7 kB / 410.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.05308, allocations: 224 kB / 410.9 MB, free: 13.1 MB / 346.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.0006769/0.05376, allocations: 490.4 kB / 411.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.05401, allocations: 218.7 kB / 411.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.05425, allocations: 217.1 kB / 411.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003709/0.05462, allocations: 294.1 kB / 412.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.05463, allocations: 0 / 412.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.05464, allocations: 7.984 kB / 412.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.05742, allocations: 2.279 MB / 414.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.05743, allocations: 15.94 kB / 414.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.05775, allocations: 135.8 kB / 414.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.05777, allocations: 12 kB / 414.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.0578, allocations: 24 kB / 414.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/0.05782, allocations: 23.92 kB / 414.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.05783, allocations: 11.94 kB / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/0.05882, allocations: 1.491 MB / 416 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.059, allocations: 182.6 kB / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.05912, allocations: 31.92 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.05956, allocations: 23.98 kB / 416.3 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.05965, allocations: 83.66 kB / 416.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.0597, allocations: 36 kB / 416.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007931/0.06049, allocations: 0.8383 MB / 417.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06049, allocations: 0 / 417.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002038/0.06253, allocations: 0.4999 MB / 417.7 MB, free: 5.77 MB / 346.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.0002839/0.06281, allocations: 198.8 kB / 417.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.06493, allocations: 1.701 MB / 419.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.06494, allocations: 0 / 419.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.06526, allocations: 302.6 kB / 419.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.06631, allocations: 190.5 kB / 420.1 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1019/0.1683, allocations: 3.821 MB / 423.9 MB, free: 82.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1687, allocations: 0.6088 MB / 424.5 MB, free: 82.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006638/0.1694, allocations: 303.3 kB / 424.8 MB, free: 82.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.1697, allocations: 345.3 kB / 425.2 MB, free: 82.79 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1697, allocations: 2.406 kB / 425.2 MB, free: 82.79 MB / 346.7 MB Notification: Performance of Templates: time 0.01876/0.1884, allocations: 14.15 MB / 439.3 MB, free: 77.74 MB / 346.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.886128358077258]