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.006117/0.006117, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001832/0.001832, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.0434/0.0434, allocations: 8.001 MB / 298.5 MB, free: 7.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 413.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08841, allocations: 51.21 MB / 464.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006335/0.0948, allocations: 5.58 MB / 469.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.09814, allocations: 1.931 MB / 471.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.09853, allocations: 23.94 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009925/0.09958, allocations: 418.1 kB / 472.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1009, allocations: 0.6885 MB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1011, allocations: 99.69 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.1026, allocations: 1.541 MB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.103, allocations: 314.1 kB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.1034, allocations: 0.494 MB / 475.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.1042, allocations: 0.7043 MB / 476.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1044, allocations: 83.94 kB / 476.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.105, allocations: 395.3 kB / 476.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.1056, allocations: 0.7167 MB / 477.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.1063, allocations: 0.8689 MB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.109, allocations: 2.792 MB / 480.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.109, allocations: 0 / 480.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.109, allocations: 0 / 480.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.109, allocations: 0 / 480.9 MB, free: 2.883 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.003021/0.112, allocations: 2.206 MB / 483.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1121, allocations: 8.031 kB / 483.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.1167, allocations: 1.489 MB / 484.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1179, allocations: 0.8706 MB / 485.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.118, allocations: 89.97 kB / 485.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006066/0.1186, allocations: 243.7 kB / 485.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/0.1239, allocations: 5.038 MB / 490.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.124, allocations: 19.81 kB / 490.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.1242, allocations: 67.84 kB / 490.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.1258, allocations: 1.154 MB / 492.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.1316, allocations: 4.289 MB / 496.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2536/0.3851, allocations: 20.64 MB / 0.5049 GB, free: 29.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.387, allocations: 1.333 MB / 0.5062 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.3876, allocations: 440.5 kB / 0.5066 GB, free: 29.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3876, allocations: 9.906 kB / 0.5066 GB, free: 29.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3877, allocations: 45.36 kB / 0.5067 GB, free: 29.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.827e-06/0.3877, allocations: 0 / 0.5067 GB, free: 29.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006245/0.3939, allocations: 4.071 MB / 0.5106 GB, free: 27.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.394, allocations: 141.4 kB / 0.5108 GB, free: 27.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.3976, allocations: 2.407 MB / 0.5131 GB, free: 27.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.201e-05/0.3976, allocations: 38.17 kB / 0.5132 GB, free: 27.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.3987, allocations: 1.841 MB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.3991, allocations: 477.7 kB / 0.5154 GB, free: 25.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.4001, allocations: 0.8234 MB / 0.5162 GB, free: 25.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4003, allocations: 358.6 kB / 0.5166 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.4021, allocations: 1.274 MB / 0.5178 GB, free: 24.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/0.4051, allocations: 3.905 MB / 0.5216 GB, free: 20.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004803/0.41, allocations: 5.656 MB / 0.5271 GB, free: 16.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.184e-05/0.41, allocations: 25.91 kB / 0.5272 GB, free: 16.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.005752/0.4158, allocations: 4.983 MB / 0.532 GB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.4159, allocations: 45.03 kB / 0.5321 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000751/0.4166, allocations: 0.7585 MB / 0.5328 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.847e-05/0.4167, allocations: 125.7 kB / 0.5329 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.4189, allocations: 0.9477 MB / 0.5339 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/0.419, allocations: 183.4 kB / 0.534 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.4214, allocations: 214.6 kB / 0.5342 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.4216, allocations: 255.8 kB / 0.5345 GB, free: 13.41 MB / 382.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.001213/0.4228, allocations: 1.209 MB / 0.5357 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.4231, allocations: 210.5 kB / 0.5359 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.4235, allocations: 262.5 kB / 0.5361 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006988/0.4242, allocations: 0.7216 MB / 0.5368 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4243, allocations: 4.75 kB / 0.5368 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4243, allocations: 3.703 kB / 0.5368 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.4279, allocations: 3.199 MB / 0.54 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4279, allocations: 12.84 kB / 0.54 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.4284, allocations: 158.2 kB / 0.5401 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.4284, allocations: 12 kB / 0.5401 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.4284, allocations: 35.45 kB / 0.5402 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.4284, allocations: 23.59 kB / 0.5402 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4285, allocations: 18.41 kB / 0.5402 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.4296, allocations: 1.718 MB / 0.5419 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4299, allocations: 283.5 kB / 0.5422 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.4301, allocations: 31.92 kB / 0.5422 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.4307, allocations: 47.39 kB / 0.5422 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.4308, allocations: 79.69 kB / 0.5423 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.4309, allocations: 43.98 kB / 0.5423 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.4323, allocations: 1.478 MB / 0.5438 GB, free: 4.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4323, allocations: 0 / 0.5438 GB, free: 4.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002679/0.4349, allocations: 0.5229 MB / 0.5443 GB, free: 3.863 MB / 382.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.0003038/0.4353, allocations: 186.4 kB / 0.5445 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.4386, allocations: 2.807 MB / 0.5472 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4386, allocations: 8 kB / 0.5472 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.4391, allocations: 0.5421 MB / 0.5478 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4403, allocations: 204.4 kB / 0.548 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.4467, allocations: 4.669 MB / 0.5525 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.4484, allocations: 1.93 MB / 0.5544 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002746/0.4512, allocations: 1.411 MB / 0.5558 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.4515, allocations: 143.4 kB / 0.5559 GB, free: 7.836 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4515, allocations: 3.938 kB / 0.5559 GB, free: 7.832 MB / 398.1 MB Notification: Performance of Templates: time 0.02846/0.48, allocations: 14.18 MB / 0.5698 GB, free: 9.785 MB / 414.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)