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.007027/0.007027, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001439/0.001439, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2117/0.2117, allocations: 7.987 MB / 298.5 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 413.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 51.21 MB / 464.3 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.01017/0.3276, allocations: 5.56 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.333, allocations: 2.022 MB / 471.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.3339, allocations: 18.19 kB / 471.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.3354, allocations: 406.8 kB / 472.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.3379, allocations: 0.7102 MB / 473 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.3384, allocations: 139.5 kB / 473.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003028/0.3415, allocations: 1.538 MB / 474.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.3422, allocations: 320.4 kB / 475 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3434, allocations: 0.5035 MB / 475.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.3451, allocations: 0.7133 MB / 476.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.3454, allocations: 81.12 kB / 476.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.3469, allocations: 434.5 kB / 476.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.348, allocations: 0.7214 MB / 477.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.3489, allocations: 0.8705 MB / 478.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.3533, allocations: 2.825 MB / 481.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3533, allocations: 0 / 481.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3533, allocations: 0 / 481.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.296e-05/0.3534, allocations: 0 / 481.1 MB, free: 8.672 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.005076/0.3585, allocations: 2.198 MB / 483.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3585, allocations: 9.531 kB / 483.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008915/0.3675, allocations: 1.503 MB / 484.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3696, allocations: 0.8613 MB / 485.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.3697, allocations: 89.48 kB / 485.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008102/0.3705, allocations: 246.9 kB / 486 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.3778, allocations: 5.044 MB / 491.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.309e-05/0.3779, allocations: 22.91 kB / 491.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.3782, allocations: 72.06 kB / 491.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.3797, allocations: 1.157 MB / 492.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006343/0.3861, allocations: 4.293 MB / 496.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.4075, allocations: 20.65 MB / 0.5051 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.4092, allocations: 1.335 MB / 0.5064 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.4098, allocations: 455.2 kB / 0.5069 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4098, allocations: 8 kB / 0.5069 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4098, allocations: 42.56 kB / 0.5069 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.805e-06/0.4098, allocations: 0 / 0.5069 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01168/0.4215, allocations: 4.586 MB / 0.5114 GB, free: 1.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.4216, allocations: 140.8 kB / 0.5115 GB, free: 1.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.4251, allocations: 2.394 MB / 0.5139 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.4252, allocations: 37.7 kB / 0.5139 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.4265, allocations: 1.851 MB / 0.5157 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.4269, allocations: 476.4 kB / 0.5162 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.428, allocations: 0.8299 MB / 0.517 GB, free: 11.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4282, allocations: 361.9 kB / 0.5173 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.4302, allocations: 1.308 MB / 0.5186 GB, free: 9.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/0.4339, allocations: 3.919 MB / 0.5224 GB, free: 4.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/0.4399, allocations: 5.716 MB / 0.528 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.933e-05/0.44, allocations: 24 kB / 0.528 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.00795/0.448, allocations: 5.052 MB / 0.533 GB, free: 8.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.4481, allocations: 45.88 kB / 0.533 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001295/0.4494, allocations: 0.8413 MB / 0.5338 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.4496, allocations: 120 kB / 0.5339 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.4525, allocations: 0.9513 MB / 0.5349 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001598/0.4527, allocations: 183.8 kB / 0.5351 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.4552, allocations: 219.7 kB / 0.5353 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004324/0.4557, allocations: 260 kB / 0.5355 GB, free: 5.75 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002362/0.458, allocations: 1.206 MB / 0.5367 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.4586, allocations: 206.8 kB / 0.5369 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.4594, allocations: 263.1 kB / 0.5371 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001291/0.4607, allocations: 0.7954 MB / 0.5379 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.4607, allocations: 3.938 kB / 0.5379 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4607, allocations: 7.984 kB / 0.5379 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/0.468, allocations: 3.343 MB / 0.5412 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.4681, allocations: 12.42 kB / 0.5412 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.4688, allocations: 171.7 kB / 0.5414 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.4689, allocations: 11.98 kB / 0.5414 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.469, allocations: 31.92 kB / 0.5414 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.469, allocations: 8 kB / 0.5414 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.469, allocations: 7.938 kB / 0.5414 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.4714, allocations: 1.787 MB / 0.5432 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/0.4723, allocations: 387.5 kB / 0.5435 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.4728, allocations: 23.92 kB / 0.5436 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4738, allocations: 67.89 kB / 0.5436 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.474, allocations: 67.8 kB / 0.5437 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.4741, allocations: 32 kB / 0.5437 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00257/0.4766, allocations: 1.478 MB / 0.5452 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4767, allocations: 4 kB / 0.5452 GB, free: 11.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003285/0.4799, allocations: 0.5389 MB / 0.5457 GB, free: 11.09 MB / 430.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 (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.0004767/0.4804, allocations: 190.8 kB / 0.5459 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.4849, allocations: 2.946 MB / 0.5488 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4849, allocations: 9.812 kB / 0.5488 GB, free: 7.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009597/0.4859, allocations: 0.6368 MB / 0.5494 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.4874, allocations: 195.8 kB / 0.5496 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00851/0.4959, allocations: 4.662 MB / 0.5541 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.4984, allocations: 1.926 MB / 0.556 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003036/0.5014, allocations: 1.444 MB / 0.5574 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.5019, allocations: 155.4 kB / 0.5576 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5019, allocations: 4 kB / 0.5576 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02991/0.5319, allocations: 15.37 MB / 0.5726 GB, free: 15.47 MB / 462.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)