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.002312/0.002312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00303/0.00303, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.824 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.0471/0.0471, allocations: 8.094 MB / 320.5 MB, free: 11.11 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.002133/0.002133, allocations: 63.91 kB / 446.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1164, allocations: 55.23 MB / 0.4901 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007098/0.1235, allocations: 4.972 MB / 0.4949 GB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.1275, allocations: 1.939 MB / 0.4968 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.1281, allocations: 23.94 kB / 0.4968 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.1293, allocations: 426.1 kB / 0.4972 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.131, allocations: 0.712 MB / 0.4979 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.1314, allocations: 127.7 kB / 0.498 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.1337, allocations: 1.507 MB / 0.4995 GB, free: 32 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.1345, allocations: 377.5 kB / 0.4999 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.1354, allocations: 0.5096 MB / 0.5004 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.1366, allocations: 0.7705 MB / 0.5011 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.1369, allocations: 80 kB / 0.5012 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.1377, allocations: 339.4 kB / 0.5015 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.1385, allocations: 0.7086 MB / 0.5022 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009646/0.1394, allocations: 0.597 MB / 0.5028 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.1427, allocations: 2.78 MB / 0.5055 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1427, allocations: 0 / 0.5055 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1427, allocations: 0 / 0.5055 GB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.1428, allocations: 4 kB / 0.5055 GB, free: 9.844 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.004091/0.1469, allocations: 2.099 MB / 0.5076 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.147, allocations: 11.89 kB / 0.5076 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.1516, allocations: 1.501 MB / 0.5091 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.1533, allocations: 0.8063 MB / 0.5098 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.1534, allocations: 86.05 kB / 0.5099 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006355/0.154, allocations: 251.7 kB / 0.5102 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2213/0.3753, allocations: 5.044 MB / 0.5151 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.194e-05/0.3753, allocations: 28.62 kB / 0.5151 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.3755, allocations: 62.47 kB / 0.5152 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/0.3772, allocations: 1.151 MB / 0.5163 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/0.3846, allocations: 4.293 MB / 0.5205 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.4022, allocations: 19.53 MB / 0.5396 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.4038, allocations: 0.8342 MB / 0.5404 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.4044, allocations: 417.5 kB / 0.5408 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.4044, allocations: 8.234 kB / 0.5408 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4045, allocations: 47.03 kB / 0.5408 GB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.757e-06/0.4045, allocations: 0 / 0.5408 GB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01121/0.4157, allocations: 4.493 MB / 0.5452 GB, free: 7.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4157, allocations: 146.8 kB / 0.5454 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.4188, allocations: 2.284 MB / 0.5476 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.4188, allocations: 38.36 kB / 0.5476 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000971/0.4198, allocations: 1.858 MB / 0.5494 GB, free: 4.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.4202, allocations: 481.8 kB / 0.5499 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009879/0.4212, allocations: 0.8312 MB / 0.5507 GB, free: 4.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4213, allocations: 334.9 kB / 0.551 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.4232, allocations: 1.309 MB / 0.5523 GB, free: 3.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.4262, allocations: 3.925 MB / 0.5561 GB, free: 15.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.4336, allocations: 5.714 MB / 0.5617 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.4337, allocations: 28 kB / 0.5617 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008878/0.4425, allocations: 5.028 MB / 0.5667 GB, free: 4.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.4426, allocations: 47.28 kB / 0.5667 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001255/0.4439, allocations: 0.8362 MB / 0.5675 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.444, allocations: 120 kB / 0.5676 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.4468, allocations: 0.9513 MB / 0.5686 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002523/0.4471, allocations: 187.2 kB / 0.5687 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.4495, allocations: 219.7 kB / 0.5689 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.4498, allocations: 255.6 kB / 0.5692 GB, free: 1.512 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.001881/0.4517, allocations: 1.206 MB / 0.5704 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.4522, allocations: 182.7 kB / 0.5705 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.4526, allocations: 244.8 kB / 0.5708 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001182/0.4538, allocations: 0.7905 MB / 0.5716 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.4538, allocations: 7.938 kB / 0.5716 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4538, allocations: 7.984 kB / 0.5716 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.4599, allocations: 2.885 MB / 0.5744 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.46, allocations: 4 kB / 0.5744 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.4607, allocations: 175.7 kB / 0.5746 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4607, allocations: 9.906 kB / 0.5746 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.4608, allocations: 23.98 kB / 0.5746 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.4608, allocations: 11.94 kB / 0.5746 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4608, allocations: 4 kB / 0.5746 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.4634, allocations: 1.771 MB / 0.5763 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/0.4641, allocations: 294.5 kB / 0.5766 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.4643, allocations: 16 kB / 0.5766 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/0.465, allocations: 59.92 kB / 0.5767 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4652, allocations: 67.77 kB / 0.5767 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.4652, allocations: 39.97 kB / 0.5768 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.4671, allocations: 1.288 MB / 0.578 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4671, allocations: 0 / 0.578 GB, free: 8.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002943/0.47, allocations: 0.5193 MB / 0.5786 GB, free: 7.719 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.0003958/0.4704, allocations: 182.8 kB / 0.5787 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.4749, allocations: 2.81 MB / 0.5815 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4749, allocations: 0 / 0.5815 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.4758, allocations: 0.593 MB / 0.582 GB, free: 4.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.477, allocations: 171.9 kB / 0.5822 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/0.4844, allocations: 4.628 MB / 0.5867 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.4863, allocations: 1.34 MB / 0.588 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003036/0.4893, allocations: 1.417 MB / 0.5894 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.4897, allocations: 143.4 kB / 0.5896 GB, free: 12.33 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4897, allocations: 0 / 0.5896 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Templates: time 0.03255/0.5222, allocations: 15.98 MB / 0.6052 GB, free: 12.64 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.425433721393347] Failed to read output from testmodel.py, exit status != 0: 0.5305850729346275 0.544966202 0.39920862300000004 Calling exit ...