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.0009322/0.0009322, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.00103/0.00103, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.03058/0.03058, allocations: 6.205 MB / 266.5 MB, free: 7.117 MB / 250.7 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 1.032e-06/1.032e-06, allocations: 0 / 337.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.422e-05, allocations: 5.266 kB / 337.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004116/0.00413, allocations: 5.404 MB / 343.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.006985, allocations: 1.943 MB / 345 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.007497, allocations: 19.94 kB / 345 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.008325, allocations: 441.9 kB / 345.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.009354, allocations: 0.7309 MB / 346.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.009526, allocations: 103.6 kB / 346.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01057, allocations: 1.541 MB / 347.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.01097, allocations: 373.4 kB / 348.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.01148, allocations: 0.7129 MB / 348.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.01209, allocations: 0.7596 MB / 349.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01224, allocations: 80 kB / 349.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.01267, allocations: 327.5 kB / 350.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.01313, allocations: 0.7476 MB / 350.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.01345, allocations: 418.2 kB / 351.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.01481, allocations: 1.808 MB / 353 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01481, allocations: 0 / 353 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01482, allocations: 0 / 353 MB, free: 12.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.01484, allocations: 0 / 353 MB, free: 12.59 MB / 282.7 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.00222/0.01706, allocations: 2.342 MB / 355.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.0171, allocations: 15.89 kB / 355.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.02003, allocations: 1.743 MB / 357.1 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.02084, allocations: 0.7656 MB / 357.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.02089, allocations: 86.41 kB / 358 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.0213, allocations: 231.5 kB / 358.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.02392, allocations: 3.117 MB / 361.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.02395, allocations: 23.77 kB / 361.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.02408, allocations: 67.84 kB / 361.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/0.02509, allocations: 1.154 MB / 362.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.02746, allocations: 1.577 MB / 364.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.04157, allocations: 25.12 MB / 389.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.04237, allocations: 452.7 kB / 389.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.04259, allocations: 162 kB / 389.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.04261, allocations: 15.94 kB / 389.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.04264, allocations: 41.39 kB / 389.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 3.156e-06/0.04264, allocations: 0 / 389.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003612/0.04626, allocations: 2.944 MB / 392.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.04632, allocations: 140.5 kB / 393 MB, free: 2.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.04825, allocations: 2.156 MB / 395.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.04831, allocations: 45.62 kB / 395.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/0.04922, allocations: 1.96 MB / 397.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.04953, allocations: 492.4 kB / 397.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007109/0.05024, allocations: 0.8891 MB / 398.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.05038, allocations: 0.5004 MB / 399 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.051, allocations: 435.8 kB / 399.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.05339, allocations: 4.328 MB / 403.8 MB, free: 6.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.05721, allocations: 5.255 MB / 409 MB, free: 15.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.651e-05/0.0573, allocations: 28 kB / 409.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.00449/0.06179, allocations: 3.476 MB / 412.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.06184, allocations: 51.75 kB / 412.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004534/0.06229, allocations: 401.8 kB / 413 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.653e-05/0.06238, allocations: 124 kB / 413.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.06394, allocations: 0.9396 MB / 414 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/0.06405, allocations: 183.3 kB / 414.2 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.06538, allocations: 219.7 kB / 414.4 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.06561, allocations: 256 kB / 414.7 MB, free: 9.441 MB / 346.7 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.0006225/0.06623, allocations: 498.3 kB / 415.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.06649, allocations: 230.5 kB / 415.4 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.06669, allocations: 201.3 kB / 415.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004127/0.06711, allocations: 350.1 kB / 415.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.06711, allocations: 0 / 415.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.06712, allocations: 7.969 kB / 415.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.07019, allocations: 2.812 MB / 418.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.0702, allocations: 8 kB / 418.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.07066, allocations: 155.7 kB / 418.9 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.07067, allocations: 12 kB / 418.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.07071, allocations: 35.98 kB / 419 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.07072, allocations: 19.92 kB / 419 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.07073, allocations: 15.94 kB / 419 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.07179, allocations: 1.527 MB / 420.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.072, allocations: 178.6 kB / 420.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.07211, allocations: 31.97 kB / 420.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.07244, allocations: 43.95 kB / 420.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.07253, allocations: 83.66 kB / 420.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.07258, allocations: 43.98 kB / 420.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008834/0.07346, allocations: 0.8895 MB / 421.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07346, allocations: 0 / 421.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001859/0.07532, allocations: 0.4999 MB / 422.3 MB, free: 1.383 MB / 346.7 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.0003173/0.07564, allocations: 194.7 kB / 422.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1132/0.1888, allocations: 1.808 MB / 424.3 MB, free: 93.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.1888, allocations: 5.703 kB / 424.3 MB, free: 93.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.1894, allocations: 304.7 kB / 424.6 MB, free: 93.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.1909, allocations: 201.5 kB / 424.8 MB, free: 93.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.1964, allocations: 3.832 MB / 428.6 MB, free: 91.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/0.1973, allocations: 0.6119 MB / 429.2 MB, free: 91.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002189/0.1995, allocations: 1.202 MB / 430.4 MB, free: 90.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.1997, allocations: 144.5 kB / 430.6 MB, free: 90.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.244e-06/0.1997, allocations: 0 / 430.6 MB, free: 90.96 MB / 346.7 MB Notification: Performance of Templates: time 0.01977/0.2195, allocations: 12.73 MB / 443.3 MB, free: 81.25 MB / 346.7 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=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4721025570761412]