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.001033/0.001033, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00168/0.00168, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.02839/0.02839, allocations: 6.204 MB / 267.2 MB, free: 6.914 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.373e-06/1.373e-06, allocations: 0 / 338.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.607e-05, allocations: 4.844 kB / 338.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005278/0.005294, allocations: 5.283 MB / 344.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.008526, allocations: 1.989 MB / 346.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.008942, allocations: 23.94 kB / 346.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.00995, allocations: 445.8 kB / 346.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.01135, allocations: 0.7309 MB / 347.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.01171, allocations: 147.4 kB / 347.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.01335, allocations: 1.557 MB / 349 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.01389, allocations: 369.4 kB / 349.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.01485, allocations: 0.7363 MB / 350.1 MB, free: 96 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.01604, allocations: 0.7557 MB / 350.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.01625, allocations: 83.98 kB / 351 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.01694, allocations: 363.2 kB / 351.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.01758, allocations: 0.736 MB / 352.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.01804, allocations: 426.2 kB / 352.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.01953, allocations: 1.828 MB / 354.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01953, allocations: 0 / 354.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01953, allocations: 0 / 354.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.977e-05/0.01957, allocations: 4 kB / 354.3 MB, free: 11.9 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.002129/0.0217, allocations: 2.337 MB / 356.6 MB, free: 9.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.02173, allocations: 11.89 kB / 356.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.02362, allocations: 0.8501 MB / 357.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.02433, allocations: 0.7406 MB / 358.2 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.02438, allocations: 82.42 kB / 358.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/0.02475, allocations: 231.6 kB / 358.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.0269, allocations: 2.941 MB / 361.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.02693, allocations: 23.81 kB / 361.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.02705, allocations: 63.91 kB / 361.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008507/0.02791, allocations: 1.01 MB / 362.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.02964, allocations: 1.32 MB / 363.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.04032, allocations: 24.52 MB / 388.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.04082, allocations: 407.7 kB / 388.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.04097, allocations: 151.9 kB / 389 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.04098, allocations: 11.94 kB / 389 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.04101, allocations: 45.33 kB / 389 MB, free: 7.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 2.204e-06/0.04101, allocations: 0 / 389 MB, free: 7.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.003755/0.04477, allocations: 1.897 MB / 390.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.04481, allocations: 140.8 kB / 391.1 MB, free: 5.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.04633, allocations: 2.162 MB / 393.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.04638, allocations: 33.7 kB / 393.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009278/0.0473, allocations: 1.975 MB / 395.2 MB, free: 1.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.04759, allocations: 0.4963 MB / 395.7 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006938/0.04828, allocations: 0.9201 MB / 396.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.0484, allocations: 0.5004 MB / 397.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.04881, allocations: 351.8 kB / 397.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.05092, allocations: 4.263 MB / 401.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.05413, allocations: 5.155 MB / 406.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/0.05416, allocations: 28 kB / 406.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.003433/0.05759, allocations: 3.269 MB / 410.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.05763, allocations: 51.97 kB / 410.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000417/0.05805, allocations: 381 kB / 410.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.613e-05/0.05813, allocations: 124 kB / 410.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.05962, allocations: 0.9162 MB / 411.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.692e-05/0.05971, allocations: 183.2 kB / 411.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.06085, allocations: 187.8 kB / 412 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.06104, allocations: 224 kB / 412.2 MB, free: 12.52 MB / 346.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.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 (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.0005088/0.06155, allocations: 498.2 kB / 412.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.06179, allocations: 218.6 kB / 412.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.06199, allocations: 204.8 kB / 413.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003785/0.06237, allocations: 342 kB / 413.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.06237, allocations: 8 kB / 413.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.06238, allocations: 3.984 kB / 413.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.06481, allocations: 2.087 MB / 415.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.06482, allocations: 4 kB / 415.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.06516, allocations: 135.8 kB / 415.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.06517, allocations: 8 kB / 415.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.06521, allocations: 27.98 kB / 415.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.06521, allocations: 8.438 kB / 415.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.06522, allocations: 11.94 kB / 415.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.06612, allocations: 1.338 MB / 417.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.06638, allocations: 246.5 kB / 417.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.06648, allocations: 23.98 kB / 417.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.06681, allocations: 20 kB / 417.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.0669, allocations: 67.77 kB / 417.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.06694, allocations: 31.98 kB / 417.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.0676, allocations: 0.8306 MB / 418.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0676, allocations: 8 kB / 418.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001529/0.06913, allocations: 0.5194 MB / 418.8 MB, free: 5.668 MB / 346.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.0002965/0.06943, allocations: 190.7 kB / 419 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.07105, allocations: 1.729 MB / 420.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.07105, allocations: 0.8125 kB / 420.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.07135, allocations: 323.1 kB / 421.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.07206, allocations: 178.5 kB / 421.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/0.184, allocations: 3.673 MB / 424.9 MB, free: 87.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.1846, allocations: 0.608 MB / 425.5 MB, free: 87.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001028/0.1857, allocations: 306 kB / 425.8 MB, free: 87.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.1861, allocations: 357.9 kB / 426.2 MB, free: 87.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1861, allocations: 0 / 426.2 MB, free: 87.23 MB / 346.7 MB Notification: Performance of Templates: time 0.0255/0.2116, allocations: 15.87 MB / 442.1 MB, free: 79.68 MB / 346.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=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.650131097063422]