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.001235/0.001235, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001319/0.001319, allocations: 219.1 kB / 23.01 MB, free: 4.605 MB / 14.72 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.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 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.04526/0.04526, allocations: 8.11 MB / 321.3 MB, free: 11.26 MB / 254.1 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 0.002034/0.002034, allocations: 63.89 kB / 447.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1007, allocations: 55.24 MB / 0.4909 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007051/0.1077, allocations: 5.587 MB / 0.4963 GB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.1114, allocations: 2.083 MB / 0.4984 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.1119, allocations: 23.94 kB / 0.4984 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.113, allocations: 434 kB / 0.4988 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.1145, allocations: 0.712 MB / 0.4995 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1149, allocations: 135.6 kB / 0.4996 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.117, allocations: 1.525 MB / 0.5011 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.1176, allocations: 357.5 kB / 0.5015 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.1184, allocations: 0.5057 MB / 0.5019 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1195, allocations: 0.7939 MB / 0.5027 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.1197, allocations: 80 kB / 0.5028 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.1206, allocations: 463.1 kB / 0.5032 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007217/0.1213, allocations: 0.7125 MB / 0.5039 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009158/0.1222, allocations: 0.8612 MB / 0.5048 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.1253, allocations: 2.788 MB / 0.5075 GB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1253, allocations: 3.938 kB / 0.5075 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1253, allocations: 0 / 0.5075 GB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.79e-05/0.1253, allocations: 0 / 0.5075 GB, free: 8.906 MB / 382.1 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.003782/0.1291, allocations: 2.107 MB / 0.5096 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1292, allocations: 11.89 kB / 0.5096 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.1338, allocations: 1.497 MB / 0.511 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.1355, allocations: 0.7985 MB / 0.5118 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.1356, allocations: 82.05 kB / 0.5119 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/0.1363, allocations: 251.7 kB / 0.5121 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1785/0.3149, allocations: 5.043 MB / 0.5171 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.3149, allocations: 25.59 kB / 0.5171 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.3151, allocations: 67.77 kB / 0.5171 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/0.3165, allocations: 1.152 MB / 0.5183 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/0.3219, allocations: 4.295 MB / 0.5225 GB, free: 24.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.3371, allocations: 20.57 MB / 0.5425 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.3384, allocations: 0.8379 MB / 0.5434 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.3388, allocations: 407.6 kB / 0.5438 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3389, allocations: 9.812 kB / 0.5438 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3389, allocations: 46.95 kB / 0.5438 GB, free: 8.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.464e-06/0.3389, allocations: 0 / 0.5438 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01054/0.3494, allocations: 4.517 MB / 0.5482 GB, free: 6.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3495, allocations: 141.9 kB / 0.5484 GB, free: 6.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.3521, allocations: 2.397 MB / 0.5507 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.3523, allocations: 38.77 kB / 0.5507 GB, free: 5.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006921/0.3529, allocations: 1.834 MB / 0.5525 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.3532, allocations: 485.9 kB / 0.553 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007758/0.354, allocations: 0.836 MB / 0.5538 GB, free: 3.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.3541, allocations: 353.9 kB / 0.5541 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3555, allocations: 1.312 MB / 0.5554 GB, free: 2.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.3585, allocations: 3.922 MB / 0.5593 GB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.3647, allocations: 5.708 MB / 0.5648 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.948e-05/0.3647, allocations: 32 kB / 0.5649 GB, free: 8.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008279/0.373, allocations: 5.037 MB / 0.5698 GB, free: 3.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.3731, allocations: 44.56 kB / 0.5698 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001182/0.3743, allocations: 0.8324 MB / 0.5706 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.3744, allocations: 123.9 kB / 0.5707 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.3773, allocations: 0.9525 MB / 0.5717 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001472/0.3774, allocations: 187.2 kB / 0.5719 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.3798, allocations: 229.5 kB / 0.5721 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/0.3801, allocations: 256.9 kB / 0.5723 GB, free: 436 kB / 398.1 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.001628/0.3818, allocations: 1.204 MB / 0.5735 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.3822, allocations: 202.6 kB / 0.5737 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.3826, allocations: 266.9 kB / 0.5739 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001153/0.3838, allocations: 0.7913 MB / 0.5747 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3838, allocations: 0 / 0.5747 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3838, allocations: 7.984 kB / 0.5747 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/0.3899, allocations: 3.327 MB / 0.578 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3899, allocations: 8.094 kB / 0.578 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.3906, allocations: 171.7 kB / 0.5781 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.3907, allocations: 4.281 kB / 0.5781 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.3907, allocations: 27.98 kB / 0.5782 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.3907, allocations: 15.81 kB / 0.5782 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3907, allocations: 7.938 kB / 0.5782 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.393, allocations: 1.797 MB / 0.58 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/0.3937, allocations: 314.4 kB / 0.5803 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3939, allocations: 16 kB / 0.5803 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.3946, allocations: 59.92 kB / 0.5803 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3948, allocations: 71.77 kB / 0.5804 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.3949, allocations: 39.97 kB / 0.5804 GB, free: 7.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002047/0.3969, allocations: 1.474 MB / 0.5819 GB, free: 6.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 0.5819 GB, free: 6.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002665/0.3996, allocations: 0.5272 MB / 0.5824 GB, free: 5.926 MB / 414.1 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.0003813/0.3999, allocations: 182.8 kB / 0.5826 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.4041, allocations: 2.815 MB / 0.5853 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4041, allocations: 0 / 0.5853 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.4049, allocations: 0.5862 MB / 0.5859 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.4062, allocations: 196.1 kB / 0.5861 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.4135, allocations: 4.903 MB / 0.5909 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.4154, allocations: 1.925 MB / 0.5927 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.416, allocations: 187.4 kB / 0.5929 GB, free: 11.03 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.416, allocations: 3.938 kB / 0.5929 GB, free: 11.03 MB / 430.1 MB Notification: Performance of Templates: time 0.04717/0.4632, allocations: 31.51 MB / 0.6237 GB, free: 11.59 MB / 462.1 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: 8.546719351084903] Failed to read output from testmodel.py, exit status != 0: 0.47129657585173845 0.48576858800000006 0.35747401300000003 Calling exit ...