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.001447/0.001447, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001583/0.001583, allocations: 208.3 kB / 22.99 MB, free: 4.965 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04634/0.04634, allocations: 8.101 MB / 321.3 MB, free: 11.08 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.00202/0.00202, allocations: 60.05 kB / 447.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 55.24 MB / 0.4908 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007038/0.121, allocations: 4.974 MB / 0.4957 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.125, allocations: 1.932 MB / 0.4975 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.1255, allocations: 23.94 kB / 0.4976 GB, free: 2.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1266, allocations: 418 kB / 0.498 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1281, allocations: 0.7081 MB / 0.4987 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.1285, allocations: 135.6 kB / 0.4988 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.1305, allocations: 1.518 MB / 0.5003 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.131, allocations: 361.5 kB / 0.5006 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.1316, allocations: 0.5135 MB / 0.5011 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1327, allocations: 0.7782 MB / 0.5019 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.1329, allocations: 80 kB / 0.5019 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.1337, allocations: 331.4 kB / 0.5023 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.1344, allocations: 0.7164 MB / 0.503 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.1351, allocations: 0.5931 MB / 0.5035 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.1385, allocations: 2.784 MB / 0.5063 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1385, allocations: 0 / 0.5063 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1385, allocations: 0 / 0.5063 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.058e-05/0.1386, allocations: 0 / 0.5063 GB, free: 9.789 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.004136/0.1427, allocations: 2.107 MB / 0.5083 GB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1427, allocations: 11.89 kB / 0.5083 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/0.1476, allocations: 1.497 MB / 0.5098 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.1495, allocations: 0.8102 MB / 0.5106 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.1496, allocations: 82.05 kB / 0.5107 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006837/0.1503, allocations: 255.7 kB / 0.5109 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2052/0.3555, allocations: 5.046 MB / 0.5158 GB, free: 25.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/0.3556, allocations: 24.59 kB / 0.5159 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.3558, allocations: 60.88 kB / 0.5159 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/0.3574, allocations: 1.149 MB / 0.517 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.364, allocations: 4.296 MB / 0.5212 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.3816, allocations: 19.53 MB / 0.5403 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.3831, allocations: 0.8375 MB / 0.5411 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.3836, allocations: 413 kB / 0.5415 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3836, allocations: 6.922 kB / 0.5415 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3837, allocations: 43.95 kB / 0.5416 GB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 4.008e-06/0.3837, allocations: 3.156 kB / 0.5416 GB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01087/0.3945, allocations: 4.497 MB / 0.546 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3946, allocations: 145.7 kB / 0.5461 GB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.3972, allocations: 2.283 MB / 0.5483 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.3973, allocations: 40.78 kB / 0.5484 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.3981, allocations: 1.854 MB / 0.5502 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.3984, allocations: 485.4 kB / 0.5506 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008517/0.3992, allocations: 0.8314 MB / 0.5514 GB, free: 4.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.3993, allocations: 333 kB / 0.5518 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.4008, allocations: 1.309 MB / 0.553 GB, free: 3.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.4036, allocations: 3.921 MB / 0.5569 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/0.4101, allocations: 5.711 MB / 0.5624 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-05/0.4102, allocations: 31.94 kB / 0.5625 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008749/0.419, allocations: 5.035 MB / 0.5674 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.419, allocations: 44 kB / 0.5674 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001233/0.4203, allocations: 0.8386 MB / 0.5683 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.4204, allocations: 124 kB / 0.5684 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.4234, allocations: 0.9513 MB / 0.5693 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001705/0.4235, allocations: 187.2 kB / 0.5695 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.426, allocations: 215.7 kB / 0.5697 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/0.4264, allocations: 252.4 kB / 0.5699 GB, free: 1.496 MB / 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.00177/0.4282, allocations: 1.206 MB / 0.5711 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.4286, allocations: 190.7 kB / 0.5713 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.4291, allocations: 240.8 kB / 0.5715 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001196/0.4303, allocations: 0.7942 MB / 0.5723 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.4303, allocations: 3.938 kB / 0.5723 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4303, allocations: 3.984 kB / 0.5723 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.4362, allocations: 2.885 MB / 0.5751 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4362, allocations: 4 kB / 0.5751 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.437, allocations: 172.2 kB / 0.5753 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.437, allocations: 12 kB / 0.5753 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.4371, allocations: 23.98 kB / 0.5753 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.4371, allocations: 7.938 kB / 0.5753 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.4371, allocations: 8 kB / 0.5753 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.4394, allocations: 1.776 MB / 0.5771 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008451/0.4403, allocations: 290.5 kB / 0.5773 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4405, allocations: 20 kB / 0.5774 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.4412, allocations: 59.86 kB / 0.5774 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4413, allocations: 71.77 kB / 0.5775 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.4414, allocations: 43.97 kB / 0.5775 GB, free: 9.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001895/0.4433, allocations: 1.284 MB / 0.5788 GB, free: 8.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4433, allocations: 0 / 0.5788 GB, free: 8.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002845/0.4462, allocations: 0.5193 MB / 0.5793 GB, free: 7.703 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.000401/0.4466, allocations: 178.9 kB / 0.5795 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.4511, allocations: 2.816 MB / 0.5822 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4511, allocations: 0 / 0.5822 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.452, allocations: 0.5984 MB / 0.5828 GB, free: 4.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4533, allocations: 167.7 kB / 0.583 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/0.461, allocations: 4.872 MB / 0.5877 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/0.4628, allocations: 1.332 MB / 0.589 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.4634, allocations: 187.4 kB / 0.5892 GB, free: 13.45 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4634, allocations: 0 / 0.5892 GB, free: 13.45 MB / 430.1 MB Notification: Performance of Templates: time 0.04801/0.5114, allocations: 31.31 MB / 0.6198 GB, free: 14.19 MB / 462.1 MB " [Timeout remaining time 659] 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.705899451859295] Failed to read output from testmodel.py, exit status != 0: 0.5196512201800942 0.5344875720000001 0.39291910700000005 Calling exit ...