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.004858/0.004858, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001264/0.001264, allocations: 195.2 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.361/1.361, 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.04675/0.04675, allocations: 8.007 MB / 298.5 MB, free: 7.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 64.25 kB / 412.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09501, allocations: 51.21 MB / 463.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006805/0.1019, allocations: 5.552 MB / 469.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.1056, allocations: 2.033 MB / 471.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.106, allocations: 16 kB / 471.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.1071, allocations: 406.2 kB / 471.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.1085, allocations: 0.6924 MB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1089, allocations: 139.6 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.1107, allocations: 1.538 MB / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.1112, allocations: 330.3 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.1118, allocations: 0.4978 MB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009776/0.1128, allocations: 0.7199 MB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.113, allocations: 80 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.1139, allocations: 439.2 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.1146, allocations: 0.7127 MB / 476.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008216/0.1154, allocations: 0.8651 MB / 477.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.1187, allocations: 2.823 MB / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1187, allocations: 0 / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1188, allocations: 0 / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.948e-05/0.1188, 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.003504/0.1223, allocations: 2.198 MB / 482.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1224, allocations: 11.97 kB / 482.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004184/0.1228, allocations: 377.6 kB / 483.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.1277, allocations: 1.497 MB / 484.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1293, allocations: 0.8625 MB / 485.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.1294, allocations: 82.05 kB / 485.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006792/0.13, allocations: 251.7 kB / 485.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/0.1365, allocations: 5.041 MB / 490.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.1366, allocations: 31.69 kB / 491 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.1368, allocations: 63.84 kB / 491 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.1386, allocations: 1.154 MB / 492.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/0.1455, allocations: 4.289 MB / 496.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2023/0.3479, allocations: 20.63 MB / 0.505 GB, free: 29.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.3494, allocations: 1.348 MB / 0.5063 GB, free: 29.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.35, allocations: 451.2 kB / 0.5067 GB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.35, allocations: 6.422 kB / 0.5067 GB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3501, allocations: 43.52 kB / 0.5068 GB, free: 29.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.327e-06/0.3501, allocations: 1.188 kB / 0.5068 GB, free: 29.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01114/0.3612, allocations: 4.576 MB / 0.5112 GB, free: 27.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3613, allocations: 137 kB / 0.5114 GB, free: 27.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.3646, allocations: 2.402 MB / 0.5137 GB, free: 27.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.3647, allocations: 37.94 kB / 0.5138 GB, free: 27.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.3658, allocations: 1.848 MB / 0.5156 GB, free: 26.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.3662, allocations: 479.5 kB / 0.516 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009703/0.3672, allocations: 0.835 MB / 0.5168 GB, free: 25.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3673, allocations: 357.2 kB / 0.5172 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.3694, allocations: 1.308 MB / 0.5185 GB, free: 24.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.3722, allocations: 3.928 MB / 0.5223 GB, free: 20.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005218/0.3774, allocations: 5.721 MB / 0.5279 GB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-05/0.3775, allocations: 26.06 kB / 0.5279 GB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007064/0.3846, allocations: 5.053 MB / 0.5328 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.3847, allocations: 44.84 kB / 0.5329 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009517/0.3856, allocations: 0.8315 MB / 0.5337 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.3858, allocations: 122.1 kB / 0.5338 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.3882, allocations: 0.955 MB / 0.5347 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-05/0.3883, allocations: 182.2 kB / 0.5349 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.3908, allocations: 221.4 kB / 0.5351 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.3911, allocations: 263.1 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.001287/0.3924, allocations: 1.198 MB / 0.5365 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.3928, allocations: 210.5 kB / 0.5367 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.3932, allocations: 268.7 kB / 0.537 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008822/0.3941, allocations: 0.7943 MB / 0.5378 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.3941, allocations: 0 / 0.5378 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3941, allocations: 15.16 kB / 0.5378 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004492/0.3986, allocations: 3.326 MB / 0.541 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3987, allocations: 7.938 kB / 0.5411 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.3993, allocations: 175.7 kB / 0.5412 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.3993, allocations: 8 kB / 0.5412 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.3994, allocations: 35.61 kB / 0.5413 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3994, allocations: 12 kB / 0.5413 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3994, allocations: 7.938 kB / 0.5413 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.4009, allocations: 1.78 MB / 0.543 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.4014, allocations: 391.4 kB / 0.5434 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.4016, allocations: 23.98 kB / 0.5434 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.4023, allocations: 55.22 kB / 0.5435 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4024, allocations: 71.55 kB / 0.5435 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.4025, allocations: 42.61 kB / 0.5436 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.4039, allocations: 1.478 MB / 0.545 GB, free: 3.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4039, allocations: 0 / 0.545 GB, free: 3.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002513/0.4064, allocations: 0.5381 MB / 0.5455 GB, free: 2.84 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.001888/0.4083, allocations: 2.454 MB / 0.5479 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00465/0.413, allocations: 2.957 MB / 0.5508 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.413, allocations: 0 / 0.5508 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.4139, allocations: 0.6445 MB / 0.5515 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.4154, allocations: 197.5 kB / 0.5516 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/0.4523, allocations: 25.76 MB / 0.5768 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.4543, allocations: 1.921 MB / 0.5787 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003117/0.4575, allocations: 1.443 MB / 0.5801 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.4588, allocations: 0.8507 MB / 0.5809 GB, free: 11.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4588, allocations: 0 / 0.5809 GB, free: 11.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07047/0.5293, allocations: 33.44 MB / 0.6136 GB, free: 10 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.14, allocations: 8.578 kB / 0.6136 GB, free: 9.992 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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)