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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",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.006549/0.006549, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.001441/0.001441, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04541/0.04541, allocations: 8.014 MB / 298.5 MB, free: 7.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.89 kB / 412.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09742, allocations: 51.21 MB / 463.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006735/0.1042, allocations: 5.55 MB / 469.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.108, allocations: 2.037 MB / 471.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.1084, allocations: 27.88 kB / 471.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.1095, allocations: 406.2 kB / 471.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.1109, allocations: 0.6963 MB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1113, allocations: 127.7 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.1132, allocations: 1.549 MB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.1137, allocations: 326.3 kB / 474.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.1144, allocations: 0.4979 MB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.1153, allocations: 0.7082 MB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.1155, allocations: 84 kB / 475.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.1163, allocations: 439.2 kB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006935/0.117, allocations: 0.7205 MB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008207/0.1178, allocations: 0.8651 MB / 477.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.121, allocations: 2.819 MB / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.121, allocations: 0 / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.121, allocations: 0 / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-05/0.1211, allocations: 0 / 480.6 MB, free: 3.199 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.003656/0.1247, allocations: 2.206 MB / 482.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1248, allocations: 8.031 kB / 482.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004406/0.1252, allocations: 373.6 kB / 483.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.1302, allocations: 1.493 MB / 484.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.1316, allocations: 0.8626 MB / 485.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.1317, allocations: 82.05 kB / 485.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006629/0.1324, allocations: 251.7 kB / 485.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.1389, allocations: 5.037 MB / 490.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.139, allocations: 31.69 kB / 491 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.1392, allocations: 63.84 kB / 491 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/0.1411, allocations: 1.15 MB / 492.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006837/0.148, allocations: 4.304 MB / 496.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2382/0.3861, allocations: 20.64 MB / 0.505 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3876, allocations: 1.347 MB / 0.5063 GB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.3881, allocations: 452.7 kB / 0.5067 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3881, allocations: 6.344 kB / 0.5067 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3882, allocations: 39.23 kB / 0.5068 GB, free: 29.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.597e-06/0.3882, allocations: 3.688 kB / 0.5068 GB, free: 29.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01128/0.3995, allocations: 4.572 MB / 0.5112 GB, free: 27.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3995, allocations: 142.4 kB / 0.5114 GB, free: 27.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.4028, allocations: 2.401 MB / 0.5137 GB, free: 27.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.843e-05/0.4029, allocations: 39.92 kB / 0.5138 GB, free: 27.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.4041, allocations: 1.845 MB / 0.5156 GB, free: 26.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.4044, allocations: 478.2 kB / 0.516 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.4055, allocations: 0.8306 MB / 0.5168 GB, free: 25.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4056, allocations: 353.7 kB / 0.5172 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4075, allocations: 1.315 MB / 0.5185 GB, free: 24.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.4103, allocations: 3.921 MB / 0.5223 GB, free: 20.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/0.4153, allocations: 5.725 MB / 0.5279 GB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.457e-05/0.4154, allocations: 26.88 kB / 0.5279 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005973/0.4213, allocations: 5.048 MB / 0.5328 GB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.4214, allocations: 49.31 kB / 0.5329 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000916/0.4223, allocations: 0.8409 MB / 0.5337 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.766e-05/0.4224, allocations: 121.8 kB / 0.5338 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.4248, allocations: 0.9501 MB / 0.5347 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.591e-05/0.4249, allocations: 177.8 kB / 0.5349 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.4272, allocations: 223.1 kB / 0.5351 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4275, allocations: 255.8 kB / 0.5354 GB, free: 12.83 MB / 382.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.001135/0.4286, allocations: 1.204 MB / 0.5365 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4289, allocations: 214.5 kB / 0.5368 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.4293, allocations: 269 kB / 0.537 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008359/0.4302, allocations: 0.7832 MB / 0.5378 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4302, allocations: 1.781 kB / 0.5378 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4302, allocations: 11.2 kB / 0.5378 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.4343, allocations: 3.34 MB / 0.541 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4343, allocations: 4.875 kB / 0.5411 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.4349, allocations: 175.7 kB / 0.5412 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.435, allocations: 10.67 kB / 0.5412 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.435, allocations: 26.7 kB / 0.5413 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.435, allocations: 12.38 kB / 0.5413 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.435, allocations: 12.62 kB / 0.5413 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.4365, allocations: 1.78 MB / 0.543 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.437, allocations: 391.5 kB / 0.5434 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4371, allocations: 16 kB / 0.5434 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.4379, allocations: 63.28 kB / 0.5435 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.438, allocations: 71.55 kB / 0.5435 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.438, allocations: 43.61 kB / 0.5436 GB, free: 4.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.4394, allocations: 1.474 MB / 0.545 GB, free: 3.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4394, allocations: 0 / 0.545 GB, free: 3.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002539/0.442, allocations: 0.5463 MB / 0.5455 GB, free: 2.801 MB / 382.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.001866/0.4438, allocations: 2.452 MB / 0.5479 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004659/0.4485, allocations: 2.959 MB / 0.5508 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4485, allocations: 0 / 0.5508 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4496, allocations: 0.6442 MB / 0.5515 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.451, allocations: 191.9 kB / 0.5516 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/0.4874, allocations: 25.76 MB / 0.5768 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.4895, allocations: 1.93 MB / 0.5787 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002977/0.4925, allocations: 1.439 MB / 0.5801 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.4939, allocations: 0.8546 MB / 0.5809 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4939, allocations: 3.938 kB / 0.5809 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07302/0.5669, allocations: 33.44 MB / 0.6136 GB, free: 9.965 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.06, allocations: 12.44 kB / 0.6136 GB, free: 9.953 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)