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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2004/0.2004, allocations: 7.987 MB / 305.9 MB, free: 2.934 MB / 238.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.002005/0.002005, allocations: 71.89 kB / 422.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 51.21 MB / 473.7 MB, free: 20.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006348/0.2983, allocations: 5.573 MB / 479.3 MB, free: 16.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003945/0.3023, allocations: 1.932 MB / 481.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.3032, allocations: 22.97 kB / 481.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3044, allocations: 402.9 kB / 481.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.3061, allocations: 0.7062 MB / 482.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3064, allocations: 96.44 kB / 482.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3084, allocations: 1.536 MB / 484 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.3089, allocations: 319.8 kB / 484.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.3096, allocations: 0.492 MB / 484.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008429/0.3104, allocations: 0.7111 MB / 485.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.3106, allocations: 79.66 kB / 485.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.3114, allocations: 389.6 kB / 485.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.312, allocations: 0.7152 MB / 486.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/0.3127, allocations: 0.8721 MB / 487.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.3155, allocations: 2.786 MB / 490.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3156, allocations: 0 / 490.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3156, allocations: 0 / 490.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.026e-05/0.3156, allocations: 7.875 kB / 490.3 MB, free: 9.742 MB / 350.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.00396/0.3196, allocations: 2.199 MB / 492.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3197, allocations: 10.38 kB / 492.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.3245, allocations: 1.502 MB / 494 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.3262, allocations: 0.8543 MB / 494.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.3263, allocations: 88.92 kB / 495 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000682/0.327, allocations: 254.8 kB / 495.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.3331, allocations: 5.041 MB / 0.4885 GB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.3332, allocations: 27.75 kB / 0.4886 GB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.3333, allocations: 63.84 kB / 0.4886 GB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.3348, allocations: 1.154 MB / 0.4897 GB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006764/0.3415, allocations: 4.289 MB / 0.4939 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.3661, allocations: 20.64 MB / 0.5141 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.368, allocations: 1.333 MB / 0.5154 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.3686, allocations: 451.2 kB / 0.5158 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.3687, allocations: 4 kB / 0.5158 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.3687, allocations: 46.61 kB / 0.5159 GB, free: 5.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.3687, allocations: 3.938 kB / 0.5159 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006714/0.3754, allocations: 4.07 MB / 0.5198 GB, free: 1.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.3756, allocations: 140.5 kB / 0.52 GB, free: 1.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.379, allocations: 2.401 MB / 0.5223 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.667e-05/0.3791, allocations: 37.89 kB / 0.5224 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.3805, allocations: 1.836 MB / 0.5242 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.381, allocations: 484.3 kB / 0.5246 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.3821, allocations: 0.8259 MB / 0.5254 GB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.3823, allocations: 357.9 kB / 0.5258 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.3842, allocations: 1.281 MB / 0.527 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/0.3883, allocations: 3.908 MB / 0.5308 GB, free: 4.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007058/0.3954, allocations: 5.654 MB / 0.5363 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-05/0.3955, allocations: 31.94 kB / 0.5364 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009005/0.4045, allocations: 4.958 MB / 0.5412 GB, free: 8.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.4046, allocations: 51.98 kB / 0.5413 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001099/0.4057, allocations: 0.7633 MB / 0.542 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.4059, allocations: 124.7 kB / 0.5421 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.4087, allocations: 0.9396 MB / 0.5431 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.4088, allocations: 187.3 kB / 0.5432 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.4113, allocations: 215.7 kB / 0.5434 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/0.4117, allocations: 260.1 kB / 0.5437 GB, free: 6.402 MB / 414.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.001932/0.4137, allocations: 1.195 MB / 0.5449 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.4141, allocations: 210.6 kB / 0.5451 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.4146, allocations: 263.1 kB / 0.5453 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001062/0.4157, allocations: 0.7151 MB / 0.546 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4157, allocations: 4 kB / 0.546 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4157, allocations: 7.984 kB / 0.546 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/0.4211, allocations: 3.216 MB / 0.5492 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.4211, allocations: 12 kB / 0.5492 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.4216, allocations: 163.8 kB / 0.5493 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/0.4217, allocations: 12 kB / 0.5493 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.4217, allocations: 24 kB / 0.5494 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.4217, allocations: 19.92 kB / 0.5494 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.4218, allocations: 23.86 kB / 0.5494 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.4238, allocations: 1.721 MB / 0.5511 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.4243, allocations: 279.5 kB / 0.5513 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.4245, allocations: 31.98 kB / 0.5514 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.4251, allocations: 40.08 kB / 0.5514 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4253, allocations: 91.61 kB / 0.5515 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.4254, allocations: 40 kB / 0.5515 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.4276, allocations: 1.486 MB / 0.553 GB, free: 12.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4276, allocations: 0 / 0.553 GB, free: 12.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003107/0.4308, allocations: 0.5194 MB / 0.5535 GB, free: 11.97 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.0004349/0.4312, allocations: 186.8 kB / 0.5537 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.4358, allocations: 2.832 MB / 0.5564 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4358, allocations: 192 / 0.5564 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.4365, allocations: 0.5362 MB / 0.557 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4381, allocations: 202.9 kB / 0.5572 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.4473, allocations: 4.906 MB / 0.562 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.4493, allocations: 1.922 MB / 0.5638 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/0.4499, allocations: 175.4 kB / 0.564 GB, free: 1.035 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4499, allocations: 4 kB / 0.564 GB, free: 1.031 MB / 430.1 MB Notification: Performance of Templates: time 0.05366/0.5036, allocations: 30.45 MB / 0.5937 GB, free: 2.613 MB / 462.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: 9.490125318989158] Failed to read output from testmodel.py, exit status != 0: 0.5116197869647294 0.747943572 0.43014545899999995 Calling exit ...