Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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.001308/0.001308, allocations: 88.72 kB / 19.44 MB, free: 356 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.001473/0.001473, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.424/1.424, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.04466/0.04466, allocations: 6.2 MB / 265.8 MB, free: 7.094 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_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.819e-05, allocations: 8.641 kB / 336.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004031/0.004059, allocations: 4.971 MB / 341.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.006557, allocations: 1.939 MB / 343.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.006806, allocations: 27.94 kB / 343.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007657/0.007571, allocations: 437.9 kB / 344.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000993/0.008564, allocations: 0.7309 MB / 345 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.008793, allocations: 139.4 kB / 345.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009528/0.009746, allocations: 1.548 MB / 346.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.01003, allocations: 357.5 kB / 347 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.01053, allocations: 0.744 MB / 347.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.01112, allocations: 0.7597 MB / 348.5 MB, free: 364 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01122, allocations: 80 kB / 348.6 MB, free: 284 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.01174, allocations: 359.3 kB / 349 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.01246, allocations: 0.7437 MB / 349.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.01295, allocations: 422.2 kB / 350.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.01591, allocations: 2.682 MB / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.01592, allocations: 7.938 kB / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01592, allocations: 0 / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.01594, allocations: 0 / 352.8 MB, free: 12.07 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.003572/0.01951, allocations: 2.092 MB / 354.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.01956, allocations: 15.89 kB / 354.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.02477, allocations: 1.794 MB / 356.7 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.02634, allocations: 0.8097 MB / 357.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.02642, allocations: 86.42 kB / 357.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006702/0.02709, allocations: 263.5 kB / 357.9 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007104/0.0342, allocations: 5.041 MB / 362.9 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.03425, allocations: 27.75 kB / 362.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.03444, allocations: 63.91 kB / 363 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001878/0.03632, allocations: 1.158 MB / 364.1 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007253/0.04357, allocations: 4.296 MB / 368.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.06659, allocations: 19.59 MB / 388 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.06816, allocations: 0.8397 MB / 388.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.06877, allocations: 420.6 kB / 389.3 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.0688, allocations: 11.94 kB / 389.3 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.06884, allocations: 42.5 kB / 389.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 3.216e-06/0.06884, allocations: 0 / 389.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.01201/0.08085, allocations: 4.521 MB / 393.9 MB, free: 1.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.08096, allocations: 136.8 kB / 394 MB, free: 1.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.08396, allocations: 2.282 MB / 396.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.08404, allocations: 33.7 kB / 396.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.08572, allocations: 1.832 MB / 398.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.08618, allocations: 472.4 kB / 398.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.08728, allocations: 0.8298 MB / 399.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.08746, allocations: 330 kB / 399.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.08947, allocations: 1.312 MB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.0942, allocations: 3.926 MB / 405 MB, free: 5.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1194/0.2136, allocations: 5.703 MB / 410.7 MB, free: 74.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.277e-05/0.2136, allocations: 27.19 kB / 410.7 MB, free: 74.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007439/0.2211, allocations: 5.241 MB / 416 MB, free: 73.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.2211, allocations: 47.28 kB / 416 MB, free: 73.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009489/0.2221, allocations: 0.8338 MB / 416.8 MB, free: 72.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.2222, allocations: 124.1 kB / 417 MB, free: 72.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.2246, allocations: 0.9502 MB / 417.9 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.627e-05/0.2247, allocations: 185 kB / 418.1 MB, free: 72.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.2266, allocations: 223.4 kB / 418.3 MB, free: 72.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.2268, allocations: 257 kB / 418.6 MB, free: 72.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * 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.001051/0.2279, allocations: 1.203 MB / 419.8 MB, free: 72.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.2281, allocations: 214.9 kB / 420 MB, free: 72.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.2285, allocations: 243.1 kB / 420.2 MB, free: 71.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000818/0.2293, allocations: 0.7937 MB / 421 MB, free: 71.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2293, allocations: 1.969 kB / 421 MB, free: 71.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2293, allocations: 6.984 kB / 421 MB, free: 71.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.2331, allocations: 2.906 MB / 423.9 MB, free: 69.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.2331, allocations: 8.062 kB / 423.9 MB, free: 69.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.2337, allocations: 176.9 kB / 424.1 MB, free: 69.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.2337, allocations: 11.94 kB / 424.1 MB, free: 69.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.2338, allocations: 27.7 kB / 424.1 MB, free: 69.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2338, allocations: 4 kB / 424.1 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2338, allocations: 11.94 kB / 424.2 MB, free: 69.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2352, allocations: 1.776 MB / 425.9 MB, free: 68.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.2356, allocations: 289.6 kB / 426.2 MB, free: 67.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.2357, allocations: 23.94 kB / 426.2 MB, free: 67.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.2364, allocations: 66.86 kB / 426.3 MB, free: 67.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.2365, allocations: 74.27 kB / 426.4 MB, free: 67.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.2365, allocations: 32 kB / 426.4 MB, free: 67.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.2377, allocations: 1.279 MB / 427.7 MB, free: 66.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2377, allocations: 0 / 427.7 MB, free: 66.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002206/0.2399, allocations: 0.5244 MB / 428.2 MB, free: 66.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * 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.0003271/0.2402, allocations: 191.2 kB / 428.4 MB, free: 65.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.2429, allocations: 2.816 MB / 431.2 MB, free: 63.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2429, allocations: 0 / 431.2 MB, free: 63.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.2435, allocations: 0.5927 MB / 431.8 MB, free: 62.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.2444, allocations: 178 kB / 432 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.2487, allocations: 4.653 MB / 436.6 MB, free: 57.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.2497, allocations: 1.34 MB / 438 MB, free: 56.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002117/0.2519, allocations: 1.412 MB / 439.4 MB, free: 55.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.2522, allocations: 144.5 kB / 439.5 MB, free: 54.97 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2522, allocations: 0 / 439.5 MB, free: 54.97 MB / 330.7 MB Notification: Performance of Templates: time 0.02156/0.2737, allocations: 14.09 MB / 453.6 MB, free: 41.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.729515096987598]