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.0008532/0.0008532, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008747/0.0008747, allocations: 173 kB / 23.03 MB, free: 1.543 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.86/0.86, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02624/0.02624, allocations: 6.208 MB / 266.2 MB, free: 7.059 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 2.205e-06/2.205e-06, allocations: 0 / 337.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.962e-05, allocations: 2.312 kB / 337.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004624/0.004643, allocations: 5.433 MB / 343.1 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.00664, allocations: 1.943 MB / 345 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.006867, allocations: 23.94 kB / 345 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.007561, allocations: 437.9 kB / 345.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000766/0.008327, allocations: 0.7386 MB / 346.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.008451, allocations: 91.7 kB / 346.3 MB, free: 3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008247/0.009276, allocations: 1.556 MB / 347.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.009537, allocations: 369.4 kB / 348.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.009925, allocations: 0.7129 MB / 348.9 MB, free: 360 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.01049, allocations: 0.7635 MB / 349.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01059, allocations: 80 kB / 349.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.01097, allocations: 331.4 kB / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.01138, allocations: 0.7437 MB / 350.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.01166, allocations: 422.2 kB / 351.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.01296, allocations: 1.805 MB / 353 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01296, allocations: 0 / 353 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01296, allocations: 0 / 353 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.01299, allocations: 7.938 kB / 353.1 MB, free: 12.2 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.002125/0.01511, allocations: 2.345 MB / 355.4 MB, free: 9.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01515, allocations: 11.89 kB / 355.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.01791, allocations: 1.743 MB / 357.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.01868, allocations: 0.7994 MB / 358 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.01872, allocations: 82.41 kB / 358 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.0191, allocations: 231.5 kB / 358.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.02161, allocations: 3.109 MB / 361.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.02165, allocations: 35.7 kB / 361.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.02176, allocations: 59.91 kB / 361.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009869/0.02275, allocations: 1.158 MB / 362.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.02483, allocations: 1.577 MB / 364.2 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.03677, allocations: 25.12 MB / 389.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.03743, allocations: 444.6 kB / 389.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.03764, allocations: 165.9 kB / 389.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.03766, allocations: 19.98 kB / 389.9 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.0377, allocations: 49.31 kB / 390 MB, free: 5.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 3.337e-06/0.0377, allocations: 0 / 390 MB, free: 5.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003025/0.04073, allocations: 2.939 MB / 392.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.04078, allocations: 140.5 kB / 393.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.04253, allocations: 2.156 MB / 395.2 MB, free: 216 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.04257, allocations: 41.69 kB / 395.3 MB, free: 168 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009808/0.04356, allocations: 1.959 MB / 397.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.04385, allocations: 484.5 kB / 397.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006956/0.04454, allocations: 0.9008 MB / 398.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.04467, allocations: 0.5004 MB / 399.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.04528, allocations: 435.8 kB / 399.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.04763, allocations: 4.328 MB / 403.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.05128, allocations: 5.242 MB / 409.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-05/0.05132, allocations: 32 kB / 409.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003716/0.05504, allocations: 3.48 MB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.05508, allocations: 44 kB / 412.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004277/0.05551, allocations: 409.9 kB / 413 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.692e-05/0.05559, allocations: 120.8 kB / 413.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.05705, allocations: 0.9474 MB / 414.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/0.05716, allocations: 187.3 kB / 414.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.05823, allocations: 219.6 kB / 414.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.05844, allocations: 256 kB / 414.8 MB, free: 9.023 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.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.0004612/0.0589, allocations: 494.2 kB / 415.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.05909, allocations: 214.6 kB / 415.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.05928, allocations: 205.3 kB / 415.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003673/0.05964, allocations: 346.1 kB / 416 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.05965, allocations: 0 / 416 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.05966, allocations: 15.91 kB / 416 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.06243, allocations: 2.805 MB / 418.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.06243, allocations: 12 kB / 418.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.0627, allocations: 152.7 kB / 419 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.06271, allocations: 12 kB / 419 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.06275, allocations: 35.98 kB / 419 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.06276, allocations: 23.92 kB / 419 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.06277, allocations: 15.88 kB / 419 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.06378, allocations: 1.526 MB / 420.6 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.06393, allocations: 182.6 kB / 420.8 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.06403, allocations: 31.97 kB / 420.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.06434, allocations: 47.95 kB / 420.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.06442, allocations: 79.66 kB / 420.9 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.06446, allocations: 43.98 kB / 421 MB, free: 2.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008458/0.06531, allocations: 0.8855 MB / 421.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06531, allocations: 0 / 421.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001441/0.06675, allocations: 0.4999 MB / 422.3 MB, free: 0.9766 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.0003037/0.06705, allocations: 194.8 kB / 422.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1113/0.1784, allocations: 1.807 MB / 424.3 MB, free: 85.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.1784, allocations: 0 / 424.3 MB, free: 85.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.1788, allocations: 311.4 kB / 424.6 MB, free: 85.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.1797, allocations: 196.9 kB / 424.8 MB, free: 85.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.1837, allocations: 3.839 MB / 428.7 MB, free: 83.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1842, allocations: 0.6084 MB / 429.3 MB, free: 83.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001964/0.1862, allocations: 1.2 MB / 430.5 MB, free: 83.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.1865, allocations: 143.4 kB / 430.6 MB, free: 83.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/0.1865, allocations: 0 / 430.6 MB, free: 83.04 MB / 346.7 MB Notification: Performance of Templates: time 0.01807/0.2045, allocations: 13.29 MB / 443.9 MB, free: 74.77 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: 3.010237080976367]