Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009584, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001055/0.001056, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2254/0.2254, allocations: 7.989 MB / 299.1 MB, free: 3.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005539, allocations: 8 kB / 361.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1574, allocations: 52.2 MB / 414 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.009493/0.1669, allocations: 8.038 MB / 422 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3767/0.5437, allocations: 2.422 MB / 424.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.5461, allocations: 29 kB / 424.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.5485, allocations: 378.5 kB / 424.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.5538, allocations: 1.126 MB / 426 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.5549, allocations: 120.5 kB / 426.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.5587, allocations: 1.696 MB / 427.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.5597, allocations: 379.2 kB / 428.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.561, allocations: 499.3 kB / 428.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.5627, allocations: 0.7754 MB / 429.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.5632, allocations: 53.94 kB / 429.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.5643, allocations: 380 kB / 429.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.5651, allocations: 0.6897 MB / 430.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.5655, allocations: 385 kB / 430.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.5674, allocations: 2.074 MB / 433 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5674, allocations: 0 / 433 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5674, allocations: 0 / 433 MB, free: 33.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.6e-05/0.5674, allocations: 3.312 kB / 433 MB, free: 33.75 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.002624/0.5701, allocations: 1.798 MB / 434.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.5701, allocations: 9.656 kB / 434.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.5743, allocations: 1.528 MB / 436.3 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.5758, allocations: 0.8357 MB / 437.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/0.5759, allocations: 87.59 kB / 437.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005986/0.5765, allocations: 259.4 kB / 437.5 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.5824, allocations: 5.035 MB / 442.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/0.5825, allocations: 21.25 kB / 442.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.5826, allocations: 65.69 kB / 442.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001432/0.5841, allocations: 1.151 MB / 443.8 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006842/0.5909, allocations: 4.278 MB / 448 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.6107, allocations: 20.68 MB / 468.7 MB, free: 30.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.6126, allocations: 1.331 MB / 470 MB, free: 30.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.6133, allocations: 443.9 kB / 470.5 MB, free: 29.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.6133, allocations: 10.61 kB / 470.5 MB, free: 29.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6134, allocations: 50.2 kB / 470.5 MB, free: 29.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 4.138e-06/0.6134, allocations: 0 / 470.5 MB, free: 29.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01172/0.6251, allocations: 4.442 MB / 475 MB, free: 27.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6253, allocations: 138.8 kB / 475.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.6295, allocations: 2.385 MB / 477.5 MB, free: 26.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.6297, allocations: 40.88 kB / 477.5 MB, free: 26.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.631, allocations: 1.76 MB / 479.3 MB, free: 25.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.6315, allocations: 458 kB / 479.7 MB, free: 25.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.6317, allocations: 85.44 kB / 479.8 MB, free: 24.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004287/0.6321, allocations: 0.5305 MB / 480.4 MB, free: 24.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.6345, allocations: 1.293 MB / 481.7 MB, free: 24.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.6384, allocations: 3.911 MB / 485.6 MB, free: 20.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.6423, allocations: 2.235 MB / 487.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-05/0.6424, allocations: 31.45 kB / 487.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01041/0.6528, allocations: 5.003 MB / 492.8 MB, free: 17.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.6529, allocations: 47.69 kB / 492.9 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001354/0.6543, allocations: 0.8483 MB / 493.7 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.6545, allocations: 135.6 kB / 493.9 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/0.6575, allocations: 0.9534 MB / 494.8 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001369/0.6577, allocations: 184.7 kB / 495 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.661, allocations: 221.5 kB / 495.2 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/0.6614, allocations: 259.5 kB / 495.5 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002103/0.6635, allocations: 1.202 MB / 496.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/0.664, allocations: 201.3 kB / 496.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.6645, allocations: 263.7 kB / 497.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001132/0.6656, allocations: 0.7982 MB / 497.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.6657, allocations: 0 / 497.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.6657, allocations: 2.766 kB / 497.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006123/0.6718, allocations: 3.351 MB / 0.4895 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6718, allocations: 4 kB / 0.4895 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.6726, allocations: 175.7 kB / 0.4897 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.6726, allocations: 8 kB / 0.4897 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.6727, allocations: 26.02 kB / 0.4897 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.6727, allocations: 8 kB / 0.4897 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6727, allocations: 8.375 kB / 0.4897 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.6751, allocations: 1.784 MB / 0.4915 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/0.676, allocations: 383.4 kB / 0.4918 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6762, allocations: 20 kB / 0.4919 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.677, allocations: 61.67 kB / 0.4919 GB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6771, allocations: 61.06 kB / 0.492 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.6772, allocations: 39.98 kB / 0.492 GB, free: 7.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.68, allocations: 1.474 MB / 0.4935 GB, free: 6.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.68, allocations: 0 / 0.4935 GB, free: 6.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005266/0.6853, allocations: 0.5419 MB / 0.494 GB, free: 5.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005302/0.6858, allocations: 174.9 kB / 0.4942 GB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.6915, allocations: 2.922 MB / 0.497 GB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.6916, allocations: 4 kB / 0.497 GB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009255/0.6925, allocations: 0.6389 MB / 0.4976 GB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.6941, allocations: 188.4 kB / 0.4978 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.7033, allocations: 5.399 MB / 0.5031 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.7052, allocations: 1.927 MB / 0.505 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003367/0.7086, allocations: 1.434 MB / 0.5064 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.709, allocations: 151.4 kB / 0.5065 GB, free: 8.891 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7091, allocations: 0 / 0.5065 GB, free: 8.891 MB / 382.1 MB Notification: Performance of Templates: time 0.03299/0.742, allocations: 16.23 MB / 0.5224 GB, free: 8.766 MB / 398.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)