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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005815/0.005815, allocations: 103.1 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 198.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1468/0.1468, allocations: 7.977 MB / 298.5 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 413.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2668, allocations: 51.21 MB / 464.3 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006179/0.273, allocations: 5.588 MB / 469.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.2764, allocations: 1.928 MB / 471.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.277, allocations: 17.88 kB / 471.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2781, allocations: 411.7 kB / 472.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.2799, allocations: 0.7039 MB / 472.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2803, allocations: 94.7 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.2827, allocations: 1.532 MB / 474.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.2831, allocations: 324 kB / 474.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.2836, allocations: 0.4958 MB / 475.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.2845, allocations: 0.7118 MB / 476.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.2848, allocations: 80.81 kB / 476.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.2858, allocations: 387.6 kB / 476.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007992/0.2866, allocations: 0.71 MB / 477.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.2872, allocations: 0.87 MB / 478.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.2898, allocations: 2.785 MB / 480.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.2898, allocations: 1.156 kB / 480.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2899, allocations: 0 / 480.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.148e-05/0.2899, allocations: 0 / 480.9 MB, free: 8.848 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.003148/0.2931, allocations: 2.14 MB / 483 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2931, allocations: 9.906 kB / 483 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.2979, allocations: 1.486 MB / 484.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.299, allocations: 0.8586 MB / 485.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.2991, allocations: 83.94 kB / 485.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.2998, allocations: 247.2 kB / 485.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.3053, allocations: 5.038 MB / 490.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/0.3053, allocations: 40.17 kB / 490.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.3055, allocations: 62.22 kB / 490.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.3071, allocations: 1.15 MB / 492 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.3128, allocations: 4.305 MB / 496.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.3321, allocations: 20.59 MB / 0.5048 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.3338, allocations: 1.333 MB / 0.5061 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.3344, allocations: 451.2 kB / 0.5065 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3344, allocations: 4 kB / 0.5065 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3344, allocations: 42.56 kB / 0.5066 GB, free: 6.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 4.348e-06/0.3344, allocations: 112 / 0.5066 GB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005718/0.3402, allocations: 3.962 MB / 0.5104 GB, free: 2.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3402, allocations: 144.4 kB / 0.5106 GB, free: 1.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.343, allocations: 2.397 MB / 0.5129 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.3431, allocations: 41.69 kB / 0.5129 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.3442, allocations: 1.761 MB / 0.5147 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.3446, allocations: 454.2 kB / 0.5151 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009404/0.3455, allocations: 0.8213 MB / 0.5159 GB, free: 12.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3457, allocations: 357.9 kB / 0.5162 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.3473, allocations: 1.277 MB / 0.5175 GB, free: 10.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.3505, allocations: 3.908 MB / 0.5213 GB, free: 5.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005412/0.3559, allocations: 5.661 MB / 0.5268 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/0.3559, allocations: 27.94 kB / 0.5269 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007045/0.363, allocations: 4.95 MB / 0.5317 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.3631, allocations: 48 kB / 0.5317 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008845/0.364, allocations: 0.7751 MB / 0.5325 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.3641, allocations: 124.3 kB / 0.5326 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.3665, allocations: 0.9396 MB / 0.5335 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.3666, allocations: 183.3 kB / 0.5337 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.3687, allocations: 219.5 kB / 0.5339 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.369, allocations: 256 kB / 0.5342 GB, free: 7.051 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.00146/0.3705, allocations: 1.209 MB / 0.5353 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.3708, allocations: 205.3 kB / 0.5355 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.3713, allocations: 267.1 kB / 0.5358 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008431/0.3721, allocations: 0.7151 MB / 0.5365 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3721, allocations: 0 / 0.5365 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3721, allocations: 3.984 kB / 0.5365 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/0.3765, allocations: 3.208 MB / 0.5396 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.3765, allocations: 12 kB / 0.5396 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.377, allocations: 151.8 kB / 0.5398 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.377, allocations: 12 kB / 0.5398 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3771, allocations: 35.97 kB / 0.5398 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/0.3771, allocations: 19.94 kB / 0.5398 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.3771, allocations: 19.81 kB / 0.5399 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3787, allocations: 1.707 MB / 0.5415 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.379, allocations: 274.3 kB / 0.5418 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.3792, allocations: 27.98 kB / 0.5418 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.3798, allocations: 47.94 kB / 0.5419 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.38, allocations: 87.61 kB / 0.5419 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.38, allocations: 40 kB / 0.542 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.3819, allocations: 1.486 MB / 0.5434 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3819, allocations: 3.938 kB / 0.5434 GB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00255/0.3844, allocations: 0.5117 MB / 0.5439 GB, free: 12.65 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.0003533/0.3848, allocations: 186.9 kB / 0.5441 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.3886, allocations: 2.82 MB / 0.5469 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.3886, allocations: 0 / 0.5469 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.3893, allocations: 0.5378 MB / 0.5474 GB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3906, allocations: 212.2 kB / 0.5476 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.3967, allocations: 4.597 MB / 0.5521 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.3985, allocations: 1.925 MB / 0.554 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002698/0.4012, allocations: 1.413 MB / 0.5553 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.4015, allocations: 143.4 kB / 0.5555 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4015, allocations: 0 / 0.5555 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of Templates: time 0.02899/0.4305, allocations: 14.17 MB / 0.5693 GB, free: 2.508 MB / 446.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (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)