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.001302/0.001302, allocations: 80.75 kB / 20 MB, free: 4.445 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.00173/0.00173, allocations: 161 kB / 23.43 MB, free: 1.027 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 1.026/1.026, allocations: 177.1 MB / 203.9 MB, free: 5.469 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.02743/0.02743, allocations: 6.206 MB / 266.6 MB, free: 6.93 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.182e-06/1.182e-06, allocations: 0 / 285 MB, free: 4.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.692e-05, allocations: 2.312 kB / 285 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.1335/0.1335, allocations: 5.354 MB / 290.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.1374, allocations: 1.988 MB / 292.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.1381, allocations: 21.91 kB / 292.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.1391, allocations: 439.3 kB / 292.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1408, allocations: 0.7362 MB / 293.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1411, allocations: 102.2 kB / 293.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.1431, allocations: 1.558 MB / 295.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.1438, allocations: 392.9 kB / 295.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1449, allocations: 0.7242 MB / 296.3 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.146, allocations: 0.7154 MB / 297 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.1463, allocations: 78.72 kB / 297.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007909/0.1471, allocations: 334.2 kB / 297.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005901/0.1477, allocations: 0.7426 MB / 298.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.1483, allocations: 429.5 kB / 298.6 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.1504, allocations: 1.8 MB / 300.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1504, allocations: 1.688 kB / 300.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1504, allocations: 1.219 kB / 300.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.559e-05/0.1505, allocations: 0 / 300.4 MB, free: 16.13 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.002734/0.1532, allocations: 1.96 MB / 302.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1533, allocations: 13.48 kB / 302.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.1555, allocations: 0.6503 MB / 303 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009312/0.1564, allocations: 0.6494 MB / 303.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.1565, allocations: 80.81 kB / 303.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.157, allocations: 235.1 kB / 304 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.1595, allocations: 2.552 MB / 306.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/0.1595, allocations: 33.31 kB / 306.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.1597, allocations: 58.16 kB / 306.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009896/0.1606, allocations: 1.009 MB / 307.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1627, allocations: 1.314 MB / 309 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.1743, allocations: 17.14 MB / 326.1 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/0.175, allocations: 452 kB / 326.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1751, allocations: 115.8 kB / 326.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1752, allocations: 16 kB / 326.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1752, allocations: 42.5 kB / 326.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 3.937e-06/0.1752, allocations: 112 / 326.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.002694/0.1779, allocations: 1.378 MB / 328.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.178, allocations: 144.4 kB / 328.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.1799, allocations: 1.668 MB / 329.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.18, allocations: 41.69 kB / 329.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009393/0.1809, allocations: 1.782 MB / 331.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.1812, allocations: 464.4 kB / 332.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007764/0.182, allocations: 0.7592 MB / 332.9 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.1821, allocations: 337.9 kB / 333.3 MB, free: 160 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.1828, allocations: 461.5 kB / 333.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.185, allocations: 2.955 MB / 336.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/0.1882, allocations: 3.892 MB / 340.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-05/0.1883, allocations: 24 kB / 340.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003156/0.1914, allocations: 2.742 MB / 343.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.1915, allocations: 45.25 kB / 343.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002896/0.1918, allocations: 297.9 kB / 343.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.859e-05/0.1918, allocations: 120 kB / 343.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.1934, allocations: 0.9474 MB / 344.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001393/0.1935, allocations: 183.9 kB / 344.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.1953, allocations: 182 kB / 345.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.1956, allocations: 224 kB / 345.3 MB, free: 1.477 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.0007815/0.1964, allocations: 458.3 kB / 345.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.1966, allocations: 115.9 kB / 345.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1969, allocations: 201.3 kB / 346.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003102/0.1972, allocations: 227.1 kB / 346.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1972, allocations: 7.938 kB / 346.3 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.1972, allocations: 3.984 kB / 346.3 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.2002, allocations: 2.034 MB / 348.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.2002, allocations: 8 kB / 348.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.2006, allocations: 143.8 kB / 348.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.2006, allocations: 15.94 kB / 348.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.2006, allocations: 27.98 kB / 348.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.2006, allocations: 24.48 kB / 348.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.2006, allocations: 19.94 kB / 348.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.2015, allocations: 1.198 MB / 349.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.2017, allocations: 186.5 kB / 349.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.2018, allocations: 31.92 kB / 350 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.2023, allocations: 25.73 kB / 350 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2024, allocations: 91.64 kB / 350.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.2024, allocations: 32 kB / 350.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006701/0.2031, allocations: 0.6221 MB / 350.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2031, allocations: 0 / 350.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002427/0.2055, allocations: 0.5077 MB / 351.2 MB, free: 11.18 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.0003655/0.2059, allocations: 164 kB / 351.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.2079, allocations: 1.578 MB / 353 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001232/0.2081, allocations: 51.94 kB / 353 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.2084, allocations: 246 kB / 353.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.2094, allocations: 196 kB / 353.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.2149, allocations: 3.789 MB / 357.3 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.2156, allocations: 0.5999 MB / 357.9 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009128/0.2165, allocations: 308.8 kB / 358.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.217, allocations: 315.3 kB / 358.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.217, allocations: 0 / 358.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of Templates: time 0.02728/0.2443, allocations: 14.13 MB / 372.6 MB, free: 5.809 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: 3.250916832126677]