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.0006855/0.0006855, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009254/0.001611, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006985/0.0006985, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000911/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9089/0.9089, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07777/0.9866, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.03327/0.03327, allocations: 6.195 MB / 250.3 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003578/0.03684, allocations: 2.295 MB / 252.6 MB, free: 6.496 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.473e-06/1.473e-06, allocations: 0 / 253.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.496e-05, allocations: 6.25 kB / 253.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004219/0.004234, allocations: 5.412 MB / 259.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.00621, allocations: 1.989 MB / 261.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.006396, allocations: 23.94 kB / 261.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.006962, allocations: 465.8 kB / 261.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.007739, allocations: 0.7309 MB / 262.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.00786, allocations: 95.58 kB / 262.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.008828, allocations: 1.522 MB / 264.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.009082, allocations: 321.8 kB / 264.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.009592, allocations: 0.7666 MB / 265.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.01013, allocations: 0.7012 MB / 265.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.01022, allocations: 83.94 kB / 266 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.0106, allocations: 339.4 kB / 266.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.01097, allocations: 0.6816 MB / 267 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.01122, allocations: 354.5 kB / 267.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.01231, allocations: 1.707 MB / 269.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.01232, allocations: 0 / 269.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01232, allocations: 0 / 269.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.01234, allocations: 4 kB / 269.1 MB, free: 5.941 MB / 266.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.001804/0.01415, allocations: 2.383 MB / 271.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.01417, allocations: 15.97 kB / 271.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.01573, allocations: 0.6406 MB / 272.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.01632, allocations: 0.6535 MB / 272.8 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.01636, allocations: 86.39 kB / 272.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.01673, allocations: 223.6 kB / 273.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1013/0.118, allocations: 2.536 MB / 275.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.118, allocations: 29.94 kB / 275.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.1182, allocations: 63.61 kB / 275.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009345/0.1191, allocations: 0.9342 MB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.1209, allocations: 1.314 MB / 278 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008131/0.1291, allocations: 17.12 MB / 295.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.1296, allocations: 450.2 kB / 295.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1297, allocations: 115 kB / 295.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1297, allocations: 15.86 kB / 295.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1298, allocations: 40.19 kB / 295.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.1298, allocations: 0 / 295.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.001932/0.1317, allocations: 1.416 MB / 297.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1318, allocations: 140.7 kB / 297.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1328, allocations: 1.68 MB / 298.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.1329, allocations: 39.09 kB / 299 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.1335, allocations: 1.782 MB / 300.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.1337, allocations: 462.3 kB / 301.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005486/0.1343, allocations: 0.7634 MB / 302 MB, free: 12.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.1344, allocations: 335.3 kB / 302.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.1348, allocations: 455.1 kB / 302.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.1362, allocations: 2.952 MB / 305.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.1388, allocations: 4.202 MB / 309.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.1388, allocations: 24 kB / 309.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.002451/0.1412, allocations: 2.736 MB / 312.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.1413, allocations: 44 kB / 312.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/0.1416, allocations: 321.6 kB / 313 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.299e-05/0.1416, allocations: 120 kB / 313.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.1431, allocations: 1.01 MB / 314.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.1432, allocations: 188.3 kB / 314.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.1443, allocations: 179.7 kB / 314.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.1445, allocations: 224 kB / 314.7 MB, free: 15.11 MB / 298.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.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * 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.0004655/0.145, allocations: 455.4 kB / 315.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1451, allocations: 111.9 kB / 315.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1453, allocations: 201.3 kB / 315.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002156/0.1455, allocations: 227.1 kB / 315.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1455, allocations: 3.938 kB / 315.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1456, allocations: 7.984 kB / 315.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.1477, allocations: 2.02 MB / 317.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.1477, allocations: 20.98 kB / 317.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.148, allocations: 147.8 kB / 317.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1481, allocations: 187.4 kB / 318.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.1481, allocations: 12 kB / 318.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.1482, allocations: 24 kB / 318.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/0.1482, allocations: 23.92 kB / 318.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1482, allocations: 11.94 kB / 318.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.1489, allocations: 1.207 MB / 319.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.149, allocations: 31.94 kB / 319.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1493, allocations: 25.58 kB / 319.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.1494, allocations: 87.64 kB / 319.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.1494, allocations: 35.98 kB / 319.5 MB, free: 10 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005064/0.15, allocations: 0.6221 MB / 320.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 4 kB / 320.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001456/0.1514, allocations: 0.4921 MB / 320.6 MB, free: 8.852 MB / 298.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.0002592/0.1517, allocations: 175.9 kB / 320.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.153, allocations: 1.668 MB / 322.5 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.314e-05/0.1531, allocations: 59.94 kB / 322.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1534, allocations: 313.4 kB / 322.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1544, allocations: 1.02 MB / 323.9 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.1584, allocations: 3.917 MB / 327.8 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.1589, allocations: 0.5994 MB / 328.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.1595, allocations: 300.2 kB / 328.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.1598, allocations: 307.3 kB / 329 MB, free: 320 kB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1598, allocations: 7.938 kB / 329 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.01844/0.1782, allocations: 11.97 MB / 340.9 MB, free: 4.422 MB / 314.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: 2.5765901654958725]