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.001522/0.001522, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001219/0.001219, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9293/0.9293, allocations: 177.1 MB / 203.7 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.02858/0.02858, allocations: 6.201 MB / 266.5 MB, free: 6.922 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.643e-06/1.643e-06, allocations: 0 / 338.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.549e-05, allocations: 4.562 kB / 338.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.0116/0.01162, allocations: 5.287 MB / 343.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.01783, allocations: 1.993 MB / 345.4 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.01833, allocations: 23.94 kB / 345.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009072/0.01924, allocations: 433.9 kB / 345.8 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.02272, allocations: 0.7387 MB / 346.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.02303, allocations: 139.4 kB / 346.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005431/0.02846, allocations: 1.56 MB / 348.2 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.02897, allocations: 365.5 kB / 348.6 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.0298, allocations: 0.7401 MB / 349.3 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.03088, allocations: 0.7596 MB / 350.1 MB, free: 408 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.03104, allocations: 80 kB / 350.2 MB, free: 328 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.03168, allocations: 355.4 kB / 350.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.03211, allocations: 0.7437 MB / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.03243, allocations: 426.2 kB / 351.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.03387, allocations: 1.828 MB / 353.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.03387, allocations: 0 / 353.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03387, allocations: 4 kB / 353.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.351e-05/0.03391, allocations: 3.938 kB / 353.5 MB, free: 12.96 MB / 330.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.002164/0.03608, allocations: 2.337 MB / 355.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.03612, allocations: 11.89 kB / 355.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.03818, allocations: 0.8501 MB / 356.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.03898, allocations: 0.7251 MB / 357.4 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.03903, allocations: 86.42 kB / 357.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003868/0.03942, allocations: 239.5 kB / 357.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.04178, allocations: 2.944 MB / 360.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.04182, allocations: 27.8 kB / 360.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.04194, allocations: 59.91 kB / 360.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008367/0.04278, allocations: 1.01 MB / 361.8 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.04464, allocations: 1.32 MB / 363.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.05752, allocations: 24.51 MB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.05812, allocations: 413.1 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.05828, allocations: 152.9 kB / 388.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.0583, allocations: 11.94 kB / 388.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.05832, allocations: 45.39 kB / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=86): time 2.885e-06/0.05833, allocations: 3.938 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.003944/0.06227, allocations: 1.886 MB / 390.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.06235, allocations: 140.8 kB / 390.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.06402, allocations: 2.162 MB / 392.4 MB, free: 4.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.06408, allocations: 37.7 kB / 392.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008422/0.06492, allocations: 1.975 MB / 394.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.06527, allocations: 0.4885 MB / 394.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007005/0.06597, allocations: 0.924 MB / 395.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.06611, allocations: 0.5043 MB / 396.4 MB, free: 276 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.06652, allocations: 355.8 kB / 396.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.06864, allocations: 4.251 MB / 401 MB, free: 9.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.07167, allocations: 5.162 MB / 406.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/0.07172, allocations: 24 kB / 406.1 MB, free: 2.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.003367/0.07508, allocations: 3.277 MB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.07513, allocations: 47.94 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003872/0.07551, allocations: 385 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.07559, allocations: 120 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.07702, allocations: 0.924 MB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.611e-05/0.07711, allocations: 179.3 kB / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.0783, allocations: 191.7 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.07849, allocations: 224 kB / 411.5 MB, free: 13.58 MB / 394.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.0005466/0.07904, allocations: 498.4 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.07928, allocations: 210.7 kB / 412.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.07946, allocations: 208.8 kB / 412.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003613/0.07983, allocations: 334 kB / 412.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.07983, allocations: 7.984 kB / 412.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.07984, allocations: 7.922 kB / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.08246, allocations: 2.083 MB / 414.8 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.08246, allocations: 7.984 kB / 414.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.08281, allocations: 147.7 kB / 414.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.08282, allocations: 4.438 kB / 414.9 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.08285, allocations: 27.98 kB / 415 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.08286, allocations: 8 kB / 415 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.08286, allocations: 11.92 kB / 415 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.08377, allocations: 1.342 MB / 416.3 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.08408, allocations: 242.5 kB / 416.6 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.08417, allocations: 20 kB / 416.6 MB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.08451, allocations: 20 kB / 416.6 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.08459, allocations: 71.75 kB / 416.7 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.08464, allocations: 31.98 kB / 416.7 MB, free: 8.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006744/0.08531, allocations: 0.8345 MB / 417.5 MB, free: 7.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.08531, allocations: 0 / 417.5 MB, free: 7.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00176/0.08707, allocations: 0.5233 MB / 418.1 MB, free: 6.742 MB / 394.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.0003053/0.08737, allocations: 190.8 kB / 418.2 MB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.08933, allocations: 1.726 MB / 420 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.08933, allocations: 448 / 420 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.08964, allocations: 323 kB / 420.3 MB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.09046, allocations: 186.5 kB / 420.5 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.09479, allocations: 3.663 MB / 424.1 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.09531, allocations: 0.6127 MB / 424.7 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008162/0.09612, allocations: 307 kB / 425 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.09654, allocations: 350.1 kB / 425.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.09654, allocations: 0 / 425.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of Templates: time 0.1244/0.2209, allocations: 15.51 MB / 440.9 MB, free: 133.3 MB / 410.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.150275948923081]