Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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.001433/0.001433, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.001505/0.001505, allocations: 168.3 kB / 22.44 MB, free: 5.34 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.422/1.422, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.0438/0.0438, allocations: 6.201 MB / 265.4 MB, free: 10.79 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_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.91 kB / 391.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1109, allocations: 55.21 MB / 446.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.2045/0.3154, allocations: 5.001 MB / 451.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.3185, allocations: 1.867 MB / 453.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.3189, allocations: 22.47 kB / 453.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3199, allocations: 441.7 kB / 454.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.3212, allocations: 0.7161 MB / 454.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.3215, allocations: 100 kB / 455 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3232, allocations: 1.504 MB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.3237, allocations: 363.8 kB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.3245, allocations: 0.6792 MB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3255, allocations: 0.7757 MB / 458.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.3257, allocations: 79.19 kB / 458.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005864/0.3263, allocations: 299.4 kB / 458.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.3269, allocations: 0.72 MB / 459.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.3274, allocations: 0.5944 MB / 460 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.3308, allocations: 2.839 MB / 462.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3308, allocations: 0.7031 kB / 462.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3308, allocations: 0 / 462.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.848e-05/0.3309, allocations: 1.375 kB / 462.8 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003958/0.3349, allocations: 2.116 MB / 464.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3349, allocations: 21.42 kB / 465 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.3397, allocations: 1.509 MB / 466.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3412, allocations: 0.8057 MB / 467.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.3413, allocations: 92.38 kB / 467.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/0.342, allocations: 250.1 kB / 467.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.348, allocations: 5.044 MB / 472.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/0.348, allocations: 27.31 kB / 472.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.3482, allocations: 62.89 kB / 472.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/0.3499, allocations: 1.156 MB / 473.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/0.3561, allocations: 4.293 MB / 478.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.3768, allocations: 19.62 MB / 497.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3783, allocations: 0.8188 MB / 498.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.3789, allocations: 411.2 kB / 499 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.379, allocations: 7.938 kB / 499 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.379, allocations: 38.56 kB / 499.1 MB, free: 13.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 3.406e-06/0.379, allocations: 3.938 kB / 499.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=114): time 0.006402/0.3854, allocations: 3.977 MB / 0.4913 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.3855, allocations: 140.5 kB / 0.4914 GB, free: 9.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.3885, allocations: 2.293 MB / 0.4936 GB, free: 7.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.3886, allocations: 33.7 kB / 0.4937 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.39, allocations: 1.855 MB / 0.4955 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.3904, allocations: 472.5 kB / 0.4959 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.3915, allocations: 0.8298 MB / 0.4968 GB, free: 4.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3917, allocations: 333.9 kB / 0.4971 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.3936, allocations: 1.277 MB / 0.4983 GB, free: 2.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.3978, allocations: 3.896 MB / 0.5021 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007085/0.4049, allocations: 5.657 MB / 0.5076 GB, free: 6.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.441e-05/0.405, allocations: 28 kB / 0.5077 GB, free: 6.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008302/0.4133, allocations: 4.956 MB / 0.5125 GB, free: 1.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.4134, allocations: 51.94 kB / 0.5126 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001097/0.4145, allocations: 0.7634 MB / 0.5133 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.4146, allocations: 126.6 kB / 0.5134 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.4174, allocations: 0.9396 MB / 0.5143 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.4176, allocations: 184.3 kB / 0.5145 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.4197, allocations: 217.5 kB / 0.5147 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.4201, allocations: 260 kB / 0.515 GB, free: 14.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001826/0.4219, allocations: 1.194 MB / 0.5161 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.4222, allocations: 194.7 kB / 0.5163 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.4227, allocations: 241.3 kB / 0.5166 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00106/0.4238, allocations: 0.7205 MB / 0.5173 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4238, allocations: 0 / 0.5173 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4238, allocations: 3.984 kB / 0.5173 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/0.4285, allocations: 2.775 MB / 0.52 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.4286, allocations: 8 kB / 0.52 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.4291, allocations: 159.7 kB / 0.5201 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.4291, allocations: 16 kB / 0.5202 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.4292, allocations: 34.16 kB / 0.5202 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/0.4292, allocations: 15.94 kB / 0.5202 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-05/0.4292, allocations: 15.94 kB / 0.5202 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.4312, allocations: 1.706 MB / 0.5219 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.4315, allocations: 182.9 kB / 0.5221 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.4317, allocations: 30.75 kB / 0.5221 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.4323, allocations: 43.95 kB / 0.5221 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4324, allocations: 87.64 kB / 0.5222 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.4325, allocations: 43.94 kB / 0.5223 GB, free: 6.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.4344, allocations: 1.288 MB / 0.5235 GB, free: 5.664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4344, allocations: 0 / 0.5235 GB, free: 5.664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002772/0.4372, allocations: 0.5038 MB / 0.524 GB, free: 5.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.0003614/0.4376, allocations: 187.3 kB / 0.5242 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.4416, allocations: 2.688 MB / 0.5268 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4416, allocations: 3.938 kB / 0.5268 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.4424, allocations: 0.4975 MB / 0.5273 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4436, allocations: 193 kB / 0.5275 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.451, allocations: 4.621 MB / 0.532 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.4528, allocations: 1.342 MB / 0.5333 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002968/0.4558, allocations: 1.392 MB / 0.5347 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4562, allocations: 140.5 kB / 0.5348 GB, free: 9.918 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4562, allocations: 0 / 0.5348 GB, free: 9.918 MB / 446.1 MB Notification: Performance of Templates: time 0.03102/0.4872, allocations: 12.73 MB / 0.5472 GB, free: 13.44 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3229907508939505] Failed to read output from testmodel.py, exit status != 0: 0.49633336067199707 0.5109001160000001 0.17685562800000001 Calling exit ...