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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005926/0.005926, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001248/0.001248, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04084/0.04084, allocations: 7.996 MB / 298.5 MB, free: 7.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.89 kB / 412.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09793, allocations: 51.22 MB / 463.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006692/0.1047, allocations: 5.573 MB / 469.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.1077, allocations: 1.928 MB / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.108, allocations: 20 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.1089, allocations: 410.1 kB / 471.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.1101, allocations: 0.703 MB / 472.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1103, allocations: 95.69 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1119, allocations: 1.534 MB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.1123, allocations: 318.1 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.1129, allocations: 0.5017 MB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/0.1139, allocations: 0.7043 MB / 475.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.114, allocations: 80 kB / 475.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.1147, allocations: 391.2 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.1153, allocations: 0.7167 MB / 476.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.116, allocations: 0.8768 MB / 477.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.1185, allocations: 2.774 MB / 480.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.1186, allocations: 4 kB / 480.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1186, allocations: 0 / 480.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.113e-05/0.1186, allocations: 0 / 480.4 MB, free: 3.398 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.003771/0.1224, allocations: 2.139 MB / 482.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1225, allocations: 16.03 kB / 482.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003752/0.1228, allocations: 365.6 kB / 482.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.1275, allocations: 1.488 MB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.1291, allocations: 0.8623 MB / 485.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/0.1291, allocations: 82.03 kB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006777/0.1298, allocations: 251.7 kB / 485.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005796/0.1356, allocations: 5.042 MB / 490.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.1357, allocations: 23.72 kB / 490.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.1359, allocations: 63.84 kB / 490.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.1376, allocations: 1.154 MB / 491.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005834/0.1435, allocations: 4.293 MB / 496.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2219/0.3653, allocations: 20.59 MB / 0.5046 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3671, allocations: 1.328 MB / 0.5059 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.3677, allocations: 442.9 kB / 0.5064 GB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3678, allocations: 14.8 kB / 0.5064 GB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3678, allocations: 39.94 kB / 0.5064 GB, free: 29.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 4.909e-06/0.3678, allocations: 0 / 0.5064 GB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005568/0.3734, allocations: 3.973 MB / 0.5103 GB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3734, allocations: 139.8 kB / 0.5104 GB, free: 27.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.3768, allocations: 2.403 MB / 0.5128 GB, free: 27.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.3769, allocations: 37.73 kB / 0.5128 GB, free: 27.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.378, allocations: 1.757 MB / 0.5145 GB, free: 26.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.3784, allocations: 456.4 kB / 0.515 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.3796, allocations: 0.8243 MB / 0.5158 GB, free: 25.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.3797, allocations: 354.7 kB / 0.5161 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.3815, allocations: 1.278 MB / 0.5174 GB, free: 24.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.3847, allocations: 3.902 MB / 0.5212 GB, free: 20.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.389, allocations: 5.659 MB / 0.5267 GB, free: 16.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-05/0.389, allocations: 26.03 kB / 0.5267 GB, free: 16.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.005414/0.3944, allocations: 4.958 MB / 0.5316 GB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.3945, allocations: 51.31 kB / 0.5316 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007616/0.3953, allocations: 0.771 MB / 0.5324 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.3954, allocations: 125.8 kB / 0.5325 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.3975, allocations: 0.9395 MB / 0.5334 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.3977, allocations: 184.2 kB / 0.5336 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.3998, allocations: 219.3 kB / 0.5338 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.4001, allocations: 253.5 kB / 0.534 GB, free: 13.46 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.0012/0.4013, allocations: 1.218 MB / 0.5352 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.4016, allocations: 205.3 kB / 0.5354 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4019, allocations: 259.5 kB / 0.5357 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006871/0.4026, allocations: 0.7138 MB / 0.5363 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4026, allocations: 4.609 kB / 0.5364 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4027, allocations: 3.891 kB / 0.5364 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/0.4067, allocations: 3.199 MB / 0.5395 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4067, allocations: 15.66 kB / 0.5395 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.4071, allocations: 154.6 kB / 0.5396 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.4072, allocations: 18.77 kB / 0.5397 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.4072, allocations: 24 kB / 0.5397 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.4072, allocations: 19.64 kB / 0.5397 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4072, allocations: 18.78 kB / 0.5397 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4084, allocations: 1.719 MB / 0.5414 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.4087, allocations: 270.3 kB / 0.5417 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.4088, allocations: 27.98 kB / 0.5417 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.4094, allocations: 47.23 kB / 0.5417 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.4095, allocations: 79.69 kB / 0.5418 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.4095, allocations: 43.98 kB / 0.5418 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.4108, allocations: 1.486 MB / 0.5433 GB, free: 4.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4108, allocations: 0 / 0.5433 GB, free: 4.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002345/0.4132, allocations: 0.5127 MB / 0.5438 GB, free: 3.973 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.001461/0.4146, allocations: 2.364 MB / 0.5461 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.4182, allocations: 2.82 MB / 0.5489 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4182, allocations: 4.125 kB / 0.5489 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.4188, allocations: 0.549 MB / 0.5494 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4201, allocations: 197.3 kB / 0.5496 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/0.4496, allocations: 25.62 MB / 0.5746 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/0.4514, allocations: 1.924 MB / 0.5765 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002758/0.4542, allocations: 1.418 MB / 0.5779 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.4553, allocations: 0.8391 MB / 0.5787 GB, free: 12.54 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4553, allocations: 0 / 0.5787 GB, free: 12.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0635/0.5188, allocations: 32.67 MB / 0.6106 GB, free: 12.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.94, allocations: 8 kB / 0.6106 GB, free: 12.19 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)