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.001272/0.001272, allocations: 93.06 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.001427/0.001427, allocations: 169 kB / 23.02 MB, free: 1.547 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.8966/0.8966, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03533/0.03533, allocations: 6.203 MB / 266.1 MB, free: 7.074 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.313e-06/1.313e-06, allocations: 0 / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.026e-05, allocations: 2.312 kB / 337.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005052/0.005072, allocations: 5.406 MB / 343 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.0077, allocations: 2.009 MB / 345 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.007993, allocations: 27.94 kB / 345.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.008754, allocations: 441.9 kB / 345.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.009488, allocations: 0.7347 MB / 346.2 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.009641, allocations: 139.5 kB / 346.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00077/0.01041, allocations: 1.557 MB / 347.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.01066, allocations: 361.4 kB / 348.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.01104, allocations: 0.7362 MB / 349 MB, free: 256 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.01159, allocations: 0.7597 MB / 349.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.01169, allocations: 80 kB / 349.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.01208, allocations: 359.3 kB / 350.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.01246, allocations: 0.7437 MB / 351 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.01273, allocations: 422.2 kB / 351.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.01424, allocations: 1.832 MB / 353.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01424, allocations: 4 kB / 353.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01424, allocations: 0 / 353.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.01426, allocations: 0 / 353.2 MB, free: 12.05 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.002026/0.01629, allocations: 2.353 MB / 355.6 MB, free: 9.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.01633, allocations: 15.89 kB / 355.6 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.0191, allocations: 1.735 MB / 357.3 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.01993, allocations: 0.8072 MB / 358.1 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.01998, allocations: 86.42 kB / 358.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/0.0204, allocations: 239.5 kB / 358.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.02339, allocations: 3.117 MB / 361.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.02343, allocations: 23.75 kB / 361.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.02354, allocations: 67.89 kB / 361.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009728/0.02451, allocations: 1.15 MB / 362.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.02656, allocations: 1.577 MB / 364.4 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.03855, allocations: 25.14 MB / 389.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.03919, allocations: 452.7 kB / 389.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.03938, allocations: 162.7 kB / 390.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.0394, allocations: 16.05 kB / 390.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.03942, allocations: 49.33 kB / 390.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 3.376e-06/0.03943, allocations: 0 / 390.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.004448/0.04387, allocations: 3.305 MB / 393.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.04393, allocations: 136.8 kB / 393.6 MB, free: 1.883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.0458, allocations: 2.171 MB / 395.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.04585, allocations: 41.69 kB / 395.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.04665, allocations: 1.952 MB / 397.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.04689, allocations: 0.4926 MB / 398.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.04756, allocations: 0.9048 MB / 399.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.04768, allocations: 0.5043 MB / 399.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.04827, allocations: 451.8 kB / 400.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.0507, allocations: 4.329 MB / 404.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.05405, allocations: 5.263 MB / 409.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.05408, allocations: 28 kB / 409.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.00338/0.05746, allocations: 3.525 MB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.0575, allocations: 44 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000466/0.05797, allocations: 437 kB / 413.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.778e-05/0.05804, allocations: 128.1 kB / 413.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.05979, allocations: 0.9513 MB / 414.8 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.448e-05/0.05987, allocations: 179.3 kB / 415 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.06092, allocations: 227.6 kB / 415.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.06111, allocations: 256 kB / 415.5 MB, free: 8.34 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.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.0004908/0.0616, allocations: 498.2 kB / 415.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.0618, allocations: 214.7 kB / 416.1 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.06197, allocations: 208.8 kB / 416.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004392/0.06241, allocations: 390.1 kB / 416.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.06241, allocations: 4 kB / 416.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.06242, allocations: 3.984 kB / 416.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.06522, allocations: 2.686 MB / 419.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.06522, allocations: 7.984 kB / 419.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.06559, allocations: 167.8 kB / 419.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.0656, allocations: 8 kB / 419.6 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.06564, allocations: 27.98 kB / 419.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.06564, allocations: 7.938 kB / 419.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.06565, allocations: 8 kB / 419.6 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.06682, allocations: 1.402 MB / 421.1 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.0671, allocations: 274.5 kB / 421.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.0672, allocations: 16 kB / 421.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.06754, allocations: 59.92 kB / 421.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.06763, allocations: 79.69 kB / 421.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.06767, allocations: 35.98 kB / 421.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007257/0.0684, allocations: 0.8816 MB / 422.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0684, allocations: 0 / 422.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001346/0.06975, allocations: 0.5194 MB / 422.9 MB, free: 0.625 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.0002719/0.07002, allocations: 186.8 kB / 423.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.09142/0.1614, allocations: 1.86 MB / 424.9 MB, free: 89.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.1614, allocations: 0 / 424.9 MB, free: 89.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.1618, allocations: 335.2 kB / 425.3 MB, free: 89.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.1627, allocations: 175.8 kB / 425.4 MB, free: 89.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.1663, allocations: 3.714 MB / 429.2 MB, free: 87.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.1667, allocations: 0.6096 MB / 429.8 MB, free: 87.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001722/0.1685, allocations: 1.227 MB / 431 MB, free: 87.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.1687, allocations: 145.1 kB / 431.1 MB, free: 87.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.003e-06/0.1687, allocations: 0 / 431.1 MB, free: 87.76 MB / 346.7 MB Notification: Performance of Templates: time 0.0176/0.1863, allocations: 14.64 MB / 445.8 MB, free: 76.57 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.107689802069217]