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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 102.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.04689/0.04689, allocations: 8.094 MB / 316.9 MB, free: 12.43 MB / 254.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.91 kB / 440.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.109, allocations: 55.2 MB / 496.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007031/0.116, allocations: 5.555 MB / 0.4899 GB, free: 8.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.1202, allocations: 2.075 MB / 0.492 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.1207, allocations: 19.94 kB / 0.492 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.1217, allocations: 438 kB / 0.4924 GB, free: 6.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.1231, allocations: 0.7042 MB / 0.4931 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1234, allocations: 131.6 kB / 0.4932 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.1254, allocations: 1.525 MB / 0.4947 GB, free: 3.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1258, allocations: 262.2 kB / 0.495 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.1266, allocations: 0.5018 MB / 0.4954 GB, free: 2.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009947/0.1276, allocations: 0.7938 MB / 0.4962 GB, free: 2.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1278, allocations: 80 kB / 0.4963 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007868/0.1285, allocations: 463.2 kB / 0.4967 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006518/0.1292, allocations: 0.7241 MB / 0.4974 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.1299, allocations: 0.8574 MB / 0.4983 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.133, allocations: 2.78 MB / 0.501 GB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.133, allocations: 0 / 0.501 GB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.133, allocations: 0 / 0.501 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.572e-05/0.133, allocations: 0 / 0.501 GB, free: 13.19 MB / 382.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.003648/0.1367, allocations: 2.181 MB / 0.5031 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1367, allocations: 11.97 kB / 0.5031 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004492/0.1371, allocations: 373.6 kB / 0.5035 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004924/0.1421, allocations: 1.493 MB / 0.505 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.1435, allocations: 0.8548 MB / 0.5058 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.1435, allocations: 86.05 kB / 0.5059 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.1442, allocations: 251.7 kB / 0.5061 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.1505, allocations: 5.041 MB / 0.511 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.1506, allocations: 35.7 kB / 0.5111 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.1508, allocations: 63.84 kB / 0.5111 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.1526, allocations: 1.154 MB / 0.5123 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2277/0.3803, allocations: 4.291 MB / 0.5164 GB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.4003, allocations: 20.65 MB / 0.5366 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.402, allocations: 1.292 MB / 0.5379 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.4027, allocations: 415.9 kB / 0.5383 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4027, allocations: 12.25 kB / 0.5383 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4027, allocations: 38.39 kB / 0.5383 GB, free: 10.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.206e-06/0.4027, allocations: 1.25 kB / 0.5383 GB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01161/0.4144, allocations: 4.582 MB / 0.5428 GB, free: 8.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4144, allocations: 141.9 kB / 0.5429 GB, free: 8.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.4176, allocations: 2.401 MB / 0.5453 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.4177, allocations: 41 kB / 0.5453 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/0.4185, allocations: 1.83 MB / 0.5471 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.4187, allocations: 487.1 kB / 0.5476 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009661/0.4197, allocations: 0.8293 MB / 0.5484 GB, free: 4.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4198, allocations: 358.4 kB / 0.5487 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4216, allocations: 1.308 MB / 0.55 GB, free: 4.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4242, allocations: 3.923 MB / 0.5538 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/0.4307, allocations: 5.72 MB / 0.5594 GB, free: 10.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.6e-05/0.4307, allocations: 29.38 kB / 0.5594 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008006/0.4387, allocations: 5.04 MB / 0.5644 GB, free: 5.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.4388, allocations: 44.97 kB / 0.5644 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001204/0.44, allocations: 0.8412 MB / 0.5652 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.4401, allocations: 128 kB / 0.5653 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/0.4429, allocations: 0.9513 MB / 0.5663 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.443, allocations: 179.3 kB / 0.5664 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.4456, allocations: 220.7 kB / 0.5667 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/0.446, allocations: 256 kB / 0.5669 GB, free: 3.059 MB / 398.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.001694/0.4477, allocations: 1.206 MB / 0.5681 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/0.4482, allocations: 206.6 kB / 0.5683 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.4487, allocations: 258.9 kB / 0.5685 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001244/0.45, allocations: 0.7991 MB / 0.5693 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.45, allocations: 4 kB / 0.5693 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.45, allocations: 3.984 kB / 0.5693 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.4559, allocations: 3.332 MB / 0.5726 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4559, allocations: 4 kB / 0.5726 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.4567, allocations: 175.7 kB / 0.5727 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.4567, allocations: 8 kB / 0.5727 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.4568, allocations: 31.92 kB / 0.5728 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.4568, allocations: 8 kB / 0.5728 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.4568, allocations: 11.31 kB / 0.5728 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.4592, allocations: 1.788 MB / 0.5745 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.4599, allocations: 391.5 kB / 0.5749 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.4601, allocations: 31.86 kB / 0.5749 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.4609, allocations: 63.83 kB / 0.575 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.461, allocations: 59.8 kB / 0.5751 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.4611, allocations: 36 kB / 0.5751 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.4632, allocations: 1.477 MB / 0.5765 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4632, allocations: 4 kB / 0.5765 GB, free: 9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002937/0.4662, allocations: 0.5194 MB / 0.577 GB, free: 8.48 MB / 414.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.003041/0.4692, allocations: 2.445 MB / 0.5794 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004801/0.474, allocations: 2.814 MB / 0.5822 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.474, allocations: 4 kB / 0.5822 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008911/0.4749, allocations: 0.582 MB / 0.5828 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.4763, allocations: 189.6 kB / 0.5829 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/0.5144, allocations: 25.74 MB / 0.6081 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.5166, allocations: 1.917 MB / 0.6099 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003307/0.5199, allocations: 1.448 MB / 0.6114 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.5212, allocations: 0.8507 MB / 0.6122 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5212, allocations: 0 / 0.6122 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0793/0.6005, allocations: 33.59 MB / 0.645 GB, free: 15.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.3, allocations: 5.938 kB / 0.645 GB, free: 15.65 MB / 494.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.936003117007203] Failed to read output from testmodel.py, exit status != 0: 13.409406549006235 13.423331677 13.287483466 Calling exit ...