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.001418/0.001418, allocations: 92.7 kB / 19.44 MB, free: 324 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.001582/0.001582, allocations: 161.3 kB / 22.76 MB, free: 1.656 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.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.04526/0.04526, allocations: 6.204 MB / 265.8 MB, free: 7.098 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.775e-06/2.775e-06, allocations: 3.938 kB / 336.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.889e-05, allocations: 2.312 kB / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007914/0.007943, allocations: 5.001 MB / 341.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.01293, allocations: 1.865 MB / 343.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.01362, allocations: 23.94 kB / 343.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.0152, allocations: 433.9 kB / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.01747, allocations: 0.7425 MB / 345 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.01786, allocations: 103.7 kB / 345.1 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.02025, allocations: 1.544 MB / 346.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.02099, allocations: 373.3 kB / 347 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.02227, allocations: 0.7129 MB / 347.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.02371, allocations: 0.7596 MB / 348.4 MB, free: 472 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.02399, allocations: 80 kB / 348.5 MB, free: 392 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008631/0.02485, allocations: 331.4 kB / 348.8 MB, free: 60 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.02626, allocations: 0.7398 MB / 349.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.02755, allocations: 422.2 kB / 350 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.03308, allocations: 2.662 MB / 352.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.03309, allocations: 4 kB / 352.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03309, allocations: 0 / 352.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.958e-05/0.03318, allocations: 0 / 352.7 MB, free: 12.23 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.007267/0.04045, allocations: 2.092 MB / 354.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.04051, allocations: 11.89 kB / 354.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007569/0.04807, allocations: 1.797 MB / 356.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.04977, allocations: 0.8059 MB / 357.4 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.04987, allocations: 86.41 kB / 357.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007531/0.05062, allocations: 259.5 kB / 357.7 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007988/0.05861, allocations: 5.042 MB / 362.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.431e-05/0.05867, allocations: 31.7 kB / 362.8 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.05891, allocations: 59.91 kB / 362.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001944/0.06085, allocations: 1.146 MB / 364 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007422/0.06827, allocations: 4.309 MB / 368.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.09075, allocations: 19.57 MB / 387.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.09225, allocations: 0.8305 MB / 388.7 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.09286, allocations: 409 kB / 389.1 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.09289, allocations: 8 kB / 389.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.09293, allocations: 42.61 kB / 389.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 2.856e-06/0.09294, allocations: 3.938 kB / 389.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.006834/0.09977, allocations: 4.003 MB / 393.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.09988, allocations: 144.4 kB / 393.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.1029, allocations: 2.282 MB / 395.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.1029, allocations: 37.7 kB / 395.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.1048, allocations: 1.835 MB / 397.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/0.1052, allocations: 460.5 kB / 397.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.1063, allocations: 0.8142 MB / 398.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1065, allocations: 334 kB / 399 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.1084, allocations: 1.281 MB / 400.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/0.1131, allocations: 3.9 MB / 404.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1169/0.23, allocations: 5.658 MB / 409.9 MB, free: 75.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/0.2301, allocations: 30.38 kB / 409.9 MB, free: 75.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007164/0.2373, allocations: 5.162 MB / 415.1 MB, free: 73.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.2373, allocations: 49.31 kB / 415.1 MB, free: 73.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007759/0.2381, allocations: 0.7677 MB / 415.9 MB, free: 73.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.2382, allocations: 122.5 kB / 416 MB, free: 73.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.2404, allocations: 0.9409 MB / 416.9 MB, free: 73.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.234e-05/0.2405, allocations: 186.2 kB / 417.1 MB, free: 73.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.2423, allocations: 213.7 kB / 417.3 MB, free: 73.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.2426, allocations: 258.7 kB / 417.6 MB, free: 73.31 MB / 330.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.001045/0.2436, allocations: 1.197 MB / 418.8 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.2439, allocations: 214.6 kB / 419 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.2442, allocations: 246.7 kB / 419.2 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006703/0.2449, allocations: 0.717 MB / 419.9 MB, free: 72.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2449, allocations: 3.938 kB / 420 MB, free: 72.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2449, allocations: 3.797 kB / 420 MB, free: 72.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.248, allocations: 2.783 MB / 422.7 MB, free: 70.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.248, allocations: 15.83 kB / 422.8 MB, free: 70.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.2484, allocations: 157.8 kB / 422.9 MB, free: 70.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.2484, allocations: 12 kB / 422.9 MB, free: 70.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.2485, allocations: 39.55 kB / 423 MB, free: 70.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.2485, allocations: 19.94 kB / 423 MB, free: 70.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2485, allocations: 15.69 kB / 423 MB, free: 70.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.2496, allocations: 1.706 MB / 424.7 MB, free: 69.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2498, allocations: 175.2 kB / 424.9 MB, free: 68.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2499, allocations: 35.59 kB / 424.9 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.2505, allocations: 43.02 kB / 424.9 MB, free: 68.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.2505, allocations: 86.14 kB / 425 MB, free: 68.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.2506, allocations: 47.09 kB / 425.1 MB, free: 68.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.2517, allocations: 1.281 MB / 426.4 MB, free: 67.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2517, allocations: 8 kB / 426.4 MB, free: 67.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002242/0.254, allocations: 0.4955 MB / 426.9 MB, free: 67.15 MB / 330.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.000296/0.2543, allocations: 183.7 kB / 427 MB, free: 66.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.257, allocations: 2.689 MB / 429.7 MB, free: 64.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.257, allocations: 7.938 kB / 429.7 MB, free: 64.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.2574, allocations: 0.4999 MB / 430.2 MB, free: 64.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.2586, allocations: 187.8 kB / 430.4 MB, free: 64.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.2632, allocations: 4.657 MB / 435.1 MB, free: 59.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.2643, allocations: 1.341 MB / 436.4 MB, free: 57.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00213/0.2664, allocations: 1.395 MB / 437.8 MB, free: 56.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.2667, allocations: 140.5 kB / 438 MB, free: 56.36 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2667, allocations: 0 / 438 MB, free: 56.36 MB / 330.7 MB Notification: Performance of Templates: time 0.02029/0.287, allocations: 12.79 MB / 450.7 MB, free: 43.92 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=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.819190694950521]