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.001119/0.001119, allocations: 76.55 kB / 19.93 MB, free: 4.629 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.0007851/0.0007851, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8216/0.8216, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.0247/0.0247, allocations: 6.187 MB / 266.1 MB, free: 7.301 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.433e-06/1.433e-06, allocations: 0 / 392.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.273e-05, allocations: 2.281 kB / 392.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.003981/0.004004, allocations: 4.967 MB / 397.2 MB, free: 124 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.006583, allocations: 1.939 MB / 399.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.006933, allocations: 23.94 kB / 399.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.007677, allocations: 437.9 kB / 399.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009496/0.008626, allocations: 0.7309 MB / 400.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.008856, allocations: 135.4 kB / 400.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.01002, allocations: 1.552 MB / 402 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.01045, allocations: 361.5 kB / 402.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.0111, allocations: 0.7362 MB / 403.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.0118, allocations: 0.7597 MB / 403.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01191, allocations: 80 kB / 404 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.01236, allocations: 359.3 kB / 404.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.01276, allocations: 0.7437 MB / 405.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.01309, allocations: 422.2 kB / 405.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.01488, allocations: 2.689 MB / 408.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.01488, allocations: 0 / 408.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01488, allocations: 0 / 408.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.918e-05/0.01493, allocations: 7.938 kB / 408.2 MB, free: 5.141 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.002223/0.01715, allocations: 2.081 MB / 410.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01719, allocations: 15.89 kB / 410.3 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.01963, allocations: 1.516 MB / 411.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.02051, allocations: 0.8058 MB / 412.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.02055, allocations: 86.41 kB / 412.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/0.02095, allocations: 255.7 kB / 412.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1514/0.1724, allocations: 5.044 MB / 418 MB, free: 28.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/0.1724, allocations: 27.56 kB / 418 MB, free: 28.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.1726, allocations: 66.62 kB / 418.1 MB, free: 28.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.1738, allocations: 1.151 MB / 419.2 MB, free: 28.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.1786, allocations: 4.307 MB / 423.5 MB, free: 27.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009905/0.1885, allocations: 19.55 MB / 443.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/0.1894, allocations: 0.8277 MB / 443.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1897, allocations: 412.2 kB / 444.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1897, allocations: 10.75 kB / 444.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1897, allocations: 46.45 kB / 444.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=86): time 3.967e-06/0.1897, allocations: 0 / 444.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.005583/0.1953, allocations: 4.49 MB / 448.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1953, allocations: 140.8 kB / 449 MB, free: 6.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.1967, allocations: 2.287 MB / 451.3 MB, free: 4.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.1967, allocations: 41.14 kB / 451.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.1971, allocations: 1.824 MB / 453.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.1973, allocations: 478.3 kB / 453.6 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/0.1978, allocations: 0.826 MB / 454.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1978, allocations: 333.9 kB / 454.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.1989, allocations: 1.312 MB / 456.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.2014, allocations: 3.919 MB / 460 MB, free: 10.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.2057, allocations: 5.717 MB / 465.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/0.2057, allocations: 26.72 kB / 465.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.004701/0.2104, allocations: 5.019 MB / 470.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.2104, allocations: 44 kB / 470.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007414/0.2112, allocations: 0.8407 MB / 471.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.893e-05/0.2113, allocations: 124 kB / 471.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.2128, allocations: 0.9552 MB / 472.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.467e-05/0.2128, allocations: 180.9 kB / 472.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2141, allocations: 223.7 kB / 473.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.2143, allocations: 260 kB / 473.4 MB, free: 11.57 MB / 362.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.001123/0.2154, allocations: 1.201 MB / 474.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.2156, allocations: 186.7 kB / 474.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.2158, allocations: 244.8 kB / 475 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007283/0.2165, allocations: 0.7908 MB / 475.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.2165, allocations: 8.812 kB / 475.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2166, allocations: 3.984 kB / 475.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.2197, allocations: 2.905 MB / 478.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2197, allocations: 4 kB / 478.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.2201, allocations: 176.5 kB / 478.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2201, allocations: 8 kB / 478.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.2201, allocations: 20 kB / 478.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.2201, allocations: 11.98 kB / 478.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2201, allocations: 12.31 kB / 478.9 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2215, allocations: 1.759 MB / 480.7 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.2218, allocations: 290.5 kB / 481 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.2219, allocations: 23.67 kB / 481 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.2222, allocations: 59.92 kB / 481 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.2223, allocations: 63.77 kB / 481.1 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.2224, allocations: 39.98 kB / 481.1 MB, free: 3.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.2234, allocations: 1.284 MB / 482.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2234, allocations: 0 / 482.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001553/0.225, allocations: 0.5271 MB / 483 MB, free: 1.777 MB / 362.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.0003331/0.2253, allocations: 190.8 kB / 483.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.2278, allocations: 2.808 MB / 485.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.2278, allocations: 0 / 485.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.2284, allocations: 0.596 MB / 486.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.2291, allocations: 170.8 kB / 486.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.2335, allocations: 4.845 MB / 491.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.2345, allocations: 1.344 MB / 492.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.2349, allocations: 180.5 kB / 493.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2349, allocations: 4 kB / 493.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of Templates: time 0.02642/0.2613, allocations: 31.31 MB / 0.5121 GB, free: 8.262 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=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889730318449438] Failed to read output from testmodel.py, exit status != 0: 0.2667614370584488 0.274906437 0.25838092900000004 Calling exit ...