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.0008964/0.0008964, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0008354/0.0008354, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9793/0.9793, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.02749/0.02749, allocations: 6.201 MB / 267.2 MB, free: 6.895 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.342e-06/1.342e-06, allocations: 0 / 338.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.74e-05, allocations: 9.062 kB / 338.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.003666/0.003683, allocations: 5.31 MB / 344.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.006231, allocations: 1.919 MB / 346.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.006553, allocations: 23.94 kB / 346.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.007224, allocations: 430 kB / 346.5 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008319/0.008055, allocations: 0.7386 MB / 347.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.0082, allocations: 103.6 kB / 347.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.009098, allocations: 1.553 MB / 348.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.009429, allocations: 373.4 kB / 349.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.009899, allocations: 0.7129 MB / 350 MB, free: 216 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006837/0.01058, allocations: 0.7597 MB / 350.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.01072, allocations: 84 kB / 350.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.01113, allocations: 331.4 kB / 351.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.01155, allocations: 0.7476 MB / 351.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.01187, allocations: 422.2 kB / 352.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.01322, allocations: 1.801 MB / 354.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.01322, allocations: 0 / 354.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01322, allocations: 0 / 354.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.01324, allocations: 3.938 kB / 354.1 MB, free: 12.06 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.002012/0.01525, allocations: 2.329 MB / 356.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.01528, allocations: 15.89 kB / 356.5 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.01718, allocations: 0.8539 MB / 357.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.01791, allocations: 0.7251 MB / 358.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.01796, allocations: 82.41 kB / 358.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.01837, allocations: 231.6 kB / 358.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.02066, allocations: 2.937 MB / 361.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.0207, allocations: 27.77 kB / 361.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.02083, allocations: 59.91 kB / 361.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009182/0.02174, allocations: 1.014 MB / 362.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.02349, allocations: 1.328 MB / 363.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.03681, allocations: 24.5 MB / 388.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.03737, allocations: 404.6 kB / 388.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.03752, allocations: 148 kB / 388.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.03755, allocations: 15.94 kB / 388.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.03757, allocations: 45.33 kB / 388.8 MB, free: 7.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/0.03758, allocations: 0 / 388.8 MB, free: 7.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.002268/0.03984, allocations: 1.594 MB / 390.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.03989, allocations: 140.5 kB / 390.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.04174, allocations: 2.155 MB / 392.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.04178, allocations: 33.7 kB / 392.7 MB, free: 3.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/0.04261, allocations: 1.986 MB / 394.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.04287, allocations: 488.4 kB / 395.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/0.04353, allocations: 0.9123 MB / 396.1 MB, free: 240 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.04365, allocations: 0.5042 MB / 396.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.04402, allocations: 343.8 kB / 397 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.04628, allocations: 4.258 MB / 401.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.04949, allocations: 5.148 MB / 406.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.04952, allocations: 28 kB / 406.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003014/0.05253, allocations: 3.228 MB / 409.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.05257, allocations: 44 kB / 409.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000323/0.0529, allocations: 369.8 kB / 410 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.05323, allocations: 124 kB / 410.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.05457, allocations: 0.9084 MB / 411.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.96e-05/0.05465, allocations: 183.4 kB / 411.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.0557, allocations: 183.7 kB / 411.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.0559, allocations: 228 kB / 411.6 MB, free: 13.11 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.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.0005528/0.05645, allocations: 498.2 kB / 412.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.05667, allocations: 206.7 kB / 412.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.0569, allocations: 209.2 kB / 412.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003119/0.05721, allocations: 302.1 kB / 412.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.05721, allocations: 8.125 kB / 412.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.05722, allocations: 11.92 kB / 412.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.05961, allocations: 2.268 MB / 415.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.05962, allocations: 16.12 kB / 415.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.05987, allocations: 139.8 kB / 415.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.05988, allocations: 12 kB / 415.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.05992, allocations: 28 kB / 415.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/0.05993, allocations: 23.92 kB / 415.3 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.05993, allocations: 11.94 kB / 415.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.06092, allocations: 1.501 MB / 416.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.06147, allocations: 178.6 kB / 417 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.06157, allocations: 28 kB / 417 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.06188, allocations: 27.97 kB / 417.1 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.06195, allocations: 83.66 kB / 417.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.06199, allocations: 32 kB / 417.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006423/0.06263, allocations: 0.8344 MB / 418 MB, free: 6.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.06263, allocations: 0 / 418 MB, free: 6.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001579/0.06421, allocations: 0.4999 MB / 418.5 MB, free: 5.785 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.0002715/0.06448, allocations: 190.8 kB / 418.7 MB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.06609, allocations: 1.708 MB / 420.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.06609, allocations: 0 / 420.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.06634, allocations: 300.3 kB / 420.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.0671, allocations: 186.1 kB / 420.9 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1286/0.1957, allocations: 3.83 MB / 424.7 MB, free: 87.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1961, allocations: 0.6075 MB / 425.3 MB, free: 87.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006653/0.1968, allocations: 307.5 kB / 425.6 MB, free: 87.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.1971, allocations: 344.2 kB / 426 MB, free: 87.07 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1971, allocations: 0 / 426 MB, free: 87.07 MB / 346.7 MB Notification: Performance of Templates: time 0.01906/0.2162, allocations: 14.48 MB / 440.4 MB, free: 80.72 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.5501213120296597]