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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 111.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 211.2 kB / 22.25 MB, free: 5.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.3 MB / 255.7 MB, free: 8.188 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.04692/0.04692, allocations: 8.09 MB / 320.2 MB, free: 11.41 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 trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 75.88 kB / 446.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1236, allocations: 55.24 MB / 0.4898 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007773/0.1314, allocations: 5.583 MB / 0.4953 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.1356, allocations: 2.083 MB / 0.4973 GB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.1361, allocations: 27.88 kB / 0.4973 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1372, allocations: 434.1 kB / 0.4978 GB, free: 2.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1387, allocations: 0.7159 MB / 0.4985 GB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.139, allocations: 127.6 kB / 0.4986 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.141, allocations: 1.522 MB / 0.5001 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1414, allocations: 242.3 kB / 0.5003 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007428/0.1422, allocations: 0.5057 MB / 0.5008 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.1433, allocations: 0.7978 MB / 0.5016 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.1435, allocations: 80 kB / 0.5016 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.1444, allocations: 459.2 kB / 0.5021 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007087/0.1451, allocations: 0.7202 MB / 0.5028 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.146, allocations: 0.8573 MB / 0.5036 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.1492, allocations: 2.78 MB / 0.5063 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1492, allocations: 4 kB / 0.5063 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1492, allocations: 4 kB / 0.5063 GB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-05/0.1492, allocations: 4 kB / 0.5063 GB, free: 9.242 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.003803/0.153, allocations: 2.099 MB / 0.5084 GB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1531, allocations: 11.89 kB / 0.5084 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.1583, allocations: 1.501 MB / 0.5099 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.1604, allocations: 0.7985 MB / 0.5107 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.1605, allocations: 78.05 kB / 0.5107 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.1612, allocations: 251.7 kB / 0.511 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2607/0.4219, allocations: 5.051 MB / 0.5159 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.422, allocations: 26.05 kB / 0.5159 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.4222, allocations: 64.59 kB / 0.516 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.424, allocations: 1.156 MB / 0.5171 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/0.4311, allocations: 4.292 MB / 0.5213 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.4508, allocations: 20.56 MB / 0.5414 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.4524, allocations: 0.849 MB / 0.5422 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.4529, allocations: 419.9 kB / 0.5426 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4529, allocations: 5.656 kB / 0.5426 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.453, allocations: 43.8 kB / 0.5427 GB, free: 8.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.896e-06/0.453, allocations: 0 / 0.5427 GB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01153/0.4645, allocations: 4.514 MB / 0.5471 GB, free: 7.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4645, allocations: 140.5 kB / 0.5472 GB, free: 6.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.4676, allocations: 2.393 MB / 0.5495 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.4677, allocations: 44.84 kB / 0.5496 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.4685, allocations: 1.833 MB / 0.5514 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.4688, allocations: 478.3 kB / 0.5518 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009243/0.4697, allocations: 0.8397 MB / 0.5526 GB, free: 3.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.4698, allocations: 355 kB / 0.553 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4712, allocations: 1.305 MB / 0.5543 GB, free: 2.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.4745, allocations: 3.932 MB / 0.5581 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006818/0.4813, allocations: 5.706 MB / 0.5637 GB, free: 8.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-05/0.4814, allocations: 28 kB / 0.5637 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008702/0.4901, allocations: 5.041 MB / 0.5686 GB, free: 3.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.4902, allocations: 44 kB / 0.5687 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001227/0.4914, allocations: 0.8403 MB / 0.5695 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.4915, allocations: 123.9 kB / 0.5696 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.4945, allocations: 0.9474 MB / 0.5705 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/0.4947, allocations: 183.3 kB / 0.5707 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.4974, allocations: 227.6 kB / 0.5709 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.4977, allocations: 256 kB / 0.5712 GB, free: 0.543 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.001741/0.4995, allocations: 1.211 MB / 0.5723 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.4999, allocations: 202.6 kB / 0.5725 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.5004, allocations: 270.8 kB / 0.5728 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00119/0.5016, allocations: 0.7904 MB / 0.5736 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5016, allocations: 0 / 0.5736 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5016, allocations: 7.984 kB / 0.5736 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.5081, allocations: 3.322 MB / 0.5768 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5081, allocations: 7.938 kB / 0.5768 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.5089, allocations: 171.7 kB / 0.577 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.5089, allocations: 6.156 kB / 0.577 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.509, allocations: 31.97 kB / 0.577 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.509, allocations: 11.94 kB / 0.577 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.509, allocations: 4 kB / 0.577 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.5114, allocations: 1.788 MB / 0.5788 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.5123, allocations: 314.4 kB / 0.5791 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.5125, allocations: 19.98 kB / 0.5791 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.5133, allocations: 59.92 kB / 0.5792 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5135, allocations: 63.77 kB / 0.5792 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.5136, allocations: 39.98 kB / 0.5793 GB, free: 8.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00225/0.5158, allocations: 1.477 MB / 0.5807 GB, free: 6.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5158, allocations: 0 / 0.5807 GB, free: 6.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003066/0.5189, allocations: 0.5272 MB / 0.5812 GB, free: 6.039 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.0004386/0.5193, allocations: 190.8 kB / 0.5814 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004581/0.5239, allocations: 2.808 MB / 0.5841 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5239, allocations: 4.062 kB / 0.5842 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.5248, allocations: 0.5818 MB / 0.5847 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5261, allocations: 199.8 kB / 0.5849 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/0.5344, allocations: 4.655 MB / 0.5895 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/0.5364, allocations: 1.928 MB / 0.5913 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003053/0.5395, allocations: 1.44 MB / 0.5927 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.5399, allocations: 155.4 kB / 0.5929 GB, free: 9.984 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5399, allocations: 0 / 0.5929 GB, free: 9.984 MB / 430.1 MB Notification: Performance of Templates: time 0.03967/0.5796, allocations: 18.31 MB / 0.6108 GB, free: 7.734 MB / 446.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: 5.874775240197778] Failed to read output from testmodel.py, exit status != 0: 0.5878310305997729 0.614025595 0.459487809 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f94091e17b0>