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.006796/0.006796, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001566/0.001566, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04092/0.04092, allocations: 8 MB / 298.5 MB, free: 7.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 55.69 kB / 412.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09156, allocations: 51.22 MB / 463.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006199/0.0978, allocations: 5.589 MB / 469.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.101, allocations: 1.931 MB / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.1013, allocations: 16 kB / 471.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008503/0.1022, allocations: 410.2 kB / 471.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1034, allocations: 0.7179 MB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1037, allocations: 91.7 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1051, allocations: 1.534 MB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.1055, allocations: 314.4 kB / 474.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.1059, allocations: 0.4939 MB / 474.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.1066, allocations: 0.7198 MB / 475.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1068, allocations: 80 kB / 475.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.1074, allocations: 387.4 kB / 476.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.1079, allocations: 0.7167 MB / 476.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.1085, allocations: 0.869 MB / 477.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.1108, allocations: 2.788 MB / 480.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1109, allocations: 0 / 480.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1109, allocations: 4 kB / 480.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.1109, allocations: 4 kB / 480.4 MB, free: 3.406 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.002781/0.1137, allocations: 2.198 MB / 482.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1137, allocations: 8.031 kB / 482.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/0.1141, allocations: 369.6 kB / 483 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/0.1185, allocations: 1.497 MB / 484.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.1201, allocations: 0.8664 MB / 485.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.1201, allocations: 90.02 kB / 485.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/0.1207, allocations: 251.7 kB / 485.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.1259, allocations: 5.034 MB / 490.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.126, allocations: 27.8 kB / 490.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.1261, allocations: 59.84 kB / 490.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/0.1277, allocations: 1.154 MB / 492 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.1334, allocations: 4.297 MB / 496.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/0.354, allocations: 20.63 MB / 0.5048 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.3554, allocations: 1.332 MB / 0.5061 GB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.3559, allocations: 446.4 kB / 0.5065 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3559, allocations: 9.5 kB / 0.5065 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3559, allocations: 42.66 kB / 0.5066 GB, free: 29.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.3559, allocations: 0 / 0.5066 GB, free: 29.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.00544/0.3614, allocations: 4.078 MB / 0.5105 GB, free: 27.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3614, allocations: 139.6 kB / 0.5107 GB, free: 27.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/0.3644, allocations: 2.407 MB / 0.513 GB, free: 27.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.3645, allocations: 39.84 kB / 0.5131 GB, free: 27.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/0.3653, allocations: 1.835 MB / 0.5149 GB, free: 26.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3657, allocations: 475 kB / 0.5153 GB, free: 25.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.3667, allocations: 0.8257 MB / 0.5161 GB, free: 25.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.3668, allocations: 354.1 kB / 0.5165 GB, free: 25.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.3685, allocations: 1.282 MB / 0.5177 GB, free: 24.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.3712, allocations: 3.898 MB / 0.5215 GB, free: 20.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.3756, allocations: 5.66 MB / 0.527 GB, free: 16.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.173e-05/0.3756, allocations: 27.19 kB / 0.5271 GB, free: 16.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.005566/0.3812, allocations: 4.975 MB / 0.5319 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.3813, allocations: 43.22 kB / 0.532 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007408/0.382, allocations: 0.7735 MB / 0.5327 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/0.3821, allocations: 121.2 kB / 0.5328 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.3843, allocations: 0.9428 MB / 0.5338 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.473e-05/0.3844, allocations: 181.5 kB / 0.5339 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.3866, allocations: 219.8 kB / 0.5341 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.3869, allocations: 256 kB / 0.5344 GB, free: 13.48 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.001328/0.3882, allocations: 1.207 MB / 0.5356 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.3885, allocations: 214.5 kB / 0.5358 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.3889, allocations: 270 kB / 0.536 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006964/0.3896, allocations: 0.7141 MB / 0.5367 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3896, allocations: 0 / 0.5367 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3896, allocations: 3.938 kB / 0.5367 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.394, allocations: 3.212 MB / 0.5399 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.394, allocations: 8 kB / 0.5399 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.3944, allocations: 156.7 kB / 0.54 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.3944, allocations: 14.41 kB / 0.54 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.3945, allocations: 27.62 kB / 0.5401 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.3945, allocations: 20.17 kB / 0.5401 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.3945, allocations: 15.92 kB / 0.5401 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3959, allocations: 1.728 MB / 0.5418 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.3962, allocations: 280.1 kB / 0.5421 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.3964, allocations: 28 kB / 0.5421 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.397, allocations: 43.78 kB / 0.5421 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.3971, allocations: 87.67 kB / 0.5422 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3972, allocations: 40 kB / 0.5422 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.3986, allocations: 1.486 MB / 0.5437 GB, free: 4.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3986, allocations: 3.75 kB / 0.5437 GB, free: 4.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00272/0.4013, allocations: 0.5155 MB / 0.5442 GB, free: 3.926 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.001503/0.4028, allocations: 2.377 MB / 0.5465 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003534/0.4064, allocations: 2.821 MB / 0.5493 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4064, allocations: 4.25 kB / 0.5493 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.407, allocations: 0.5486 MB / 0.5498 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.4084, allocations: 196.8 kB / 0.55 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/0.4386, allocations: 25.7 MB / 0.5751 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4403, allocations: 1.923 MB / 0.577 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00264/0.4429, allocations: 1.408 MB / 0.5784 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.444, allocations: 0.8468 MB / 0.5792 GB, free: 12.39 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.444, allocations: 0 / 0.5792 GB, free: 12.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05736/0.5013, allocations: 32.2 MB / 0.6106 GB, free: 12.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.07, allocations: 3.938 kB / 0.6106 GB, free: 12.49 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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads_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_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)