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.001413/0.001413, 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.001637/0.001637, allocations: 214.6 kB / 22.25 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.781 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.04397/0.04397, allocations: 8.101 MB / 320.5 MB, free: 11.06 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.001897/0.001897, allocations: 67.89 kB / 446.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 55.23 MB / 0.49 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007272/0.1278, allocations: 5.01 MB / 0.4949 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.1317, allocations: 1.865 MB / 0.4968 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.1321, allocations: 19.94 kB / 0.4968 GB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1333, allocations: 430 kB / 0.4972 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.1348, allocations: 0.715 MB / 0.4979 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.135, allocations: 99.75 kB / 0.498 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.1367, allocations: 1.511 MB / 0.4995 GB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.1372, allocations: 357.5 kB / 0.4998 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.1378, allocations: 0.4979 MB / 0.5003 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.1388, allocations: 0.7744 MB / 0.501 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.139, allocations: 80 kB / 0.5011 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.1397, allocations: 299.5 kB / 0.5014 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.1403, allocations: 0.7125 MB / 0.5021 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.1409, allocations: 0.5931 MB / 0.5027 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.1439, allocations: 2.753 MB / 0.5054 GB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1439, allocations: 4 kB / 0.5054 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.144, allocations: 0 / 0.5054 GB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.117e-05/0.144, allocations: 0 / 0.5054 GB, free: 9.934 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003639/0.1476, allocations: 2.096 MB / 0.5074 GB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1477, allocations: 19.83 kB / 0.5074 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.1526, allocations: 1.497 MB / 0.5089 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.1546, allocations: 0.8141 MB / 0.5097 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.1547, allocations: 85.97 kB / 0.5098 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000677/0.1554, allocations: 247.8 kB / 0.51 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2358/0.3912, allocations: 5.034 MB / 0.5149 GB, free: 25.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.3913, allocations: 26 kB / 0.515 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.3915, allocations: 67.44 kB / 0.515 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.393, allocations: 1.154 MB / 0.5161 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00641/0.3994, allocations: 4.284 MB / 0.5203 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.4164, allocations: 19.52 MB / 0.5394 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4179, allocations: 0.8274 MB / 0.5402 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.4184, allocations: 410.7 kB / 0.5406 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4184, allocations: 10.42 kB / 0.5406 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4185, allocations: 47.81 kB / 0.5406 GB, free: 9.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.076e-06/0.4185, allocations: 0 / 0.5406 GB, free: 9.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005897/0.4244, allocations: 3.982 MB / 0.5445 GB, free: 7.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4244, allocations: 137.7 kB / 0.5447 GB, free: 7.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.4274, allocations: 2.291 MB / 0.5469 GB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.4275, allocations: 39.98 kB / 0.5469 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008177/0.4283, allocations: 1.86 MB / 0.5488 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.4286, allocations: 469.9 kB / 0.5492 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008464/0.4295, allocations: 0.8353 MB / 0.55 GB, free: 4.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.4295, allocations: 333.6 kB / 0.5503 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4311, allocations: 1.277 MB / 0.5516 GB, free: 3.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.434, allocations: 3.905 MB / 0.5554 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/0.4403, allocations: 5.663 MB / 0.5609 GB, free: 9.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.775e-05/0.4404, allocations: 24 kB / 0.561 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.00853/0.4489, allocations: 4.946 MB / 0.5658 GB, free: 4.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.449, allocations: 44 kB / 0.5658 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001042/0.45, allocations: 0.7725 MB / 0.5666 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.4502, allocations: 120.8 kB / 0.5667 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/0.4528, allocations: 0.9435 MB / 0.5676 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.453, allocations: 183.3 kB / 0.5678 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.4555, allocations: 232.1 kB / 0.568 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.4559, allocations: 252 kB / 0.5683 GB, free: 2.457 MB / 398.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.001849/0.4577, allocations: 1.21 MB / 0.5694 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.4582, allocations: 182.7 kB / 0.5696 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.4586, allocations: 243 kB / 0.5698 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009881/0.4595, allocations: 0.7152 MB / 0.5705 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4596, allocations: 4 kB / 0.5705 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4596, allocations: 8.484 kB / 0.5706 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.4647, allocations: 2.753 MB / 0.5732 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.4647, allocations: 8.938 kB / 0.5733 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.4652, allocations: 159.7 kB / 0.5734 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/0.4652, allocations: 23.92 kB / 0.5734 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.4653, allocations: 28.38 kB / 0.5735 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.4653, allocations: 15.94 kB / 0.5735 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/0.4653, allocations: 15.94 kB / 0.5735 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4673, allocations: 1.695 MB / 0.5751 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.4678, allocations: 186.5 kB / 0.5753 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.4679, allocations: 31.94 kB / 0.5753 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.4685, allocations: 39.95 kB / 0.5754 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4687, allocations: 95.58 kB / 0.5755 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.4687, allocations: 36 kB / 0.5755 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001782/0.4705, allocations: 1.288 MB / 0.5768 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4705, allocations: 0 / 0.5768 GB, free: 9.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003209/0.4737, allocations: 0.5038 MB / 0.5773 GB, free: 8.891 MB / 414.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.0003831/0.4741, allocations: 186.8 kB / 0.5774 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004519/0.4786, allocations: 2.682 MB / 0.5801 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.4786, allocations: 0 / 0.5801 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.4793, allocations: 0.4964 MB / 0.5805 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.4809, allocations: 185.9 kB / 0.5807 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.489, allocations: 4.629 MB / 0.5852 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/0.4908, allocations: 1.344 MB / 0.5866 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002886/0.4937, allocations: 1.39 MB / 0.5879 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.494, allocations: 135.4 kB / 0.588 GB, free: 13.67 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.494, allocations: 4 kB / 0.588 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Templates: time 0.03237/0.5264, allocations: 14.72 MB / 0.6024 GB, free: 15.22 MB / 446.1 MB " [Timeout remaining time 659] 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.264826230704784] Failed to read output from testmodel.py, exit status != 0: 0.5351876337081194 0.549595195 0.40269417 Calling exit ...