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.001435/0.001435, allocations: 108 kB / 16.41 MB, free: 6.504 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.001255/0.001255, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.0471/0.0471, allocations: 8.018 MB / 299.2 MB, free: 7.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.89 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09986, allocations: 51.23 MB / 465 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.00743/0.1073, allocations: 5.589 MB / 470.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.1111, allocations: 1.932 MB / 472.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1115, allocations: 23.94 kB / 472.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009914/0.1125, allocations: 430 kB / 473 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.114, allocations: 0.7041 MB / 473.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1142, allocations: 95.75 kB / 473.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.1162, allocations: 1.542 MB / 475.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.1166, allocations: 258.2 kB / 475.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.1173, allocations: 0.5017 MB / 476 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/0.1182, allocations: 0.7043 MB / 476.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.1184, allocations: 80 kB / 476.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.1192, allocations: 391.3 kB / 477.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006901/0.1199, allocations: 0.7358 MB / 477.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.1207, allocations: 0.8768 MB / 478.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003293/0.124, allocations: 2.792 MB / 481.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.124, allocations: 0 / 481.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.124, allocations: 0 / 481.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.391e-05/0.1241, allocations: 0 / 481.6 MB, free: 2.898 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.003804/0.1279, allocations: 2.194 MB / 483.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1279, allocations: 12.03 kB / 483.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.1331, allocations: 1.493 MB / 485.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1351, allocations: 0.8666 MB / 486.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.1352, allocations: 82.03 kB / 486.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007237/0.1359, allocations: 255.7 kB / 486.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.1432, allocations: 5.034 MB / 491.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.1432, allocations: 27.81 kB / 491.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.1434, allocations: 63.84 kB / 491.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.1453, allocations: 1.15 MB / 492.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.1523, allocations: 4.305 MB / 497.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2606/0.4129, allocations: 20.62 MB / 0.5056 GB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4145, allocations: 1.289 MB / 0.5068 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.4151, allocations: 413.2 kB / 0.5072 GB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4151, allocations: 6.453 kB / 0.5072 GB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4151, allocations: 45.17 kB / 0.5073 GB, free: 29.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/0.4151, allocations: 0 / 0.5073 GB, free: 29.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006182/0.4213, allocations: 4.073 MB / 0.5113 GB, free: 27.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4214, allocations: 136.5 kB / 0.5114 GB, free: 27.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.4252, allocations: 2.41 MB / 0.5137 GB, free: 27.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.4254, allocations: 40.59 kB / 0.5138 GB, free: 27.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.4266, allocations: 1.839 MB / 0.5156 GB, free: 26.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.427, allocations: 479.5 kB / 0.516 GB, free: 25.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.4281, allocations: 0.8254 MB / 0.5168 GB, free: 25.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.4281, allocations: 358.4 kB / 0.5172 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.4299, allocations: 1.277 MB / 0.5184 GB, free: 24.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/0.4331, allocations: 3.901 MB / 0.5222 GB, free: 20.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005284/0.4384, allocations: 5.655 MB / 0.5278 GB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/0.4385, allocations: 28.38 kB / 0.5278 GB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007181/0.4456, allocations: 4.972 MB / 0.5326 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.4457, allocations: 48 kB / 0.5327 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008409/0.4466, allocations: 0.7699 MB / 0.5334 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.4467, allocations: 123.5 kB / 0.5336 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.4493, allocations: 0.9418 MB / 0.5345 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.4494, allocations: 184.2 kB / 0.5346 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/0.4523, allocations: 219.8 kB / 0.5349 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.4527, allocations: 255.1 kB / 0.5351 GB, free: 13.53 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.001334/0.454, allocations: 1.213 MB / 0.5363 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.4543, allocations: 210.5 kB / 0.5365 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.4548, allocations: 265.2 kB / 0.5367 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007787/0.4556, allocations: 0.7159 MB / 0.5374 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4556, allocations: 0 / 0.5374 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4556, allocations: 7.703 kB / 0.5374 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.4599, allocations: 3.205 MB / 0.5406 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4599, allocations: 8 kB / 0.5406 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.4603, allocations: 157.8 kB / 0.5407 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.4604, allocations: 16.28 kB / 0.5407 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.4604, allocations: 31.92 kB / 0.5408 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.4604, allocations: 15.94 kB / 0.5408 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.4604, allocations: 16.97 kB / 0.5408 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.4617, allocations: 1.724 MB / 0.5425 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.462, allocations: 279.5 kB / 0.5428 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.4622, allocations: 31.94 kB / 0.5428 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.4628, allocations: 43.95 kB / 0.5428 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.4629, allocations: 80.52 kB / 0.5429 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.463, allocations: 47.83 kB / 0.543 GB, free: 5.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.4645, allocations: 1.482 MB / 0.5444 GB, free: 4.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4645, allocations: 0 / 0.5444 GB, free: 4.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002986/0.4675, allocations: 0.5155 MB / 0.5449 GB, free: 3.961 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.0003093/0.4678, allocations: 190.6 kB / 0.5451 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.4711, allocations: 2.685 MB / 0.5477 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.4711, allocations: 0 / 0.5477 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004723/0.4716, allocations: 0.4992 MB / 0.5482 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.473, allocations: 206.4 kB / 0.5484 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.48, allocations: 4.669 MB / 0.553 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.482, allocations: 1.926 MB / 0.5548 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00298/0.485, allocations: 1.413 MB / 0.5562 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.4853, allocations: 143.4 kB / 0.5564 GB, free: 8.105 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4853, allocations: 0 / 0.5564 GB, free: 8.105 MB / 398.1 MB Notification: Performance of Templates: time 0.03258/0.5179, allocations: 14.26 MB / 0.5703 GB, free: 9.969 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)