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.001005/0.001005, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008757/0.0008757, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9752/0.9752, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.02665/0.02665, allocations: 6.198 MB / 265.4 MB, free: 7.309 MB / 250.7 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 1.874e-06/1.874e-06, allocations: 3.938 kB / 391 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.902e-05, allocations: 2.281 kB / 391 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.00697/0.006989, allocations: 4.964 MB / 396 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.01094, allocations: 1.939 MB / 397.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.01158, allocations: 23.94 kB / 397.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.01244, allocations: 434 kB / 398.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.01368, allocations: 0.7308 MB / 399.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.01388, allocations: 135.4 kB / 399.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.01501, allocations: 1.549 MB / 400.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.01553, allocations: 365.5 kB / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.01619, allocations: 0.7401 MB / 401.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.01686, allocations: 0.7558 MB / 402.6 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.017, allocations: 80 kB / 402.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.01744, allocations: 359.3 kB / 403.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.0179, allocations: 0.7437 MB / 403.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.01825, allocations: 426.1 kB / 404.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.0202, allocations: 2.689 MB / 406.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02021, allocations: 7.938 kB / 406.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.02021, allocations: 0 / 406.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.952e-05/0.02025, allocations: 0 / 406.9 MB, free: 5.652 MB / 330.7 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.002501/0.02275, allocations: 2.08 MB / 409 MB, free: 3.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.02279, allocations: 12.03 kB / 409 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.02308, allocations: 373.5 kB / 409.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.02576, allocations: 1.516 MB / 410.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.02675, allocations: 0.8019 MB / 411.7 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.0268, allocations: 90.17 kB / 411.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.02724, allocations: 263.7 kB / 412 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2021/0.2294, allocations: 5.038 MB / 417.1 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.2294, allocations: 27.41 kB / 417.1 MB, free: 28.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.2296, allocations: 61.73 kB / 417.2 MB, free: 28.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.2309, allocations: 1.154 MB / 418.3 MB, free: 28.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005861/0.2367, allocations: 4.298 MB / 422.6 MB, free: 27.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.2509, allocations: 19.94 MB / 442.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.252, allocations: 0.8298 MB / 443.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.2524, allocations: 414.9 kB / 443.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2524, allocations: 8 kB / 443.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2524, allocations: 42.5 kB / 443.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=86): time 6.232e-06/0.2524, allocations: 0 / 443.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.006359/0.2588, allocations: 4.519 MB / 448.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.2589, allocations: 136.8 kB / 448.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.2604, allocations: 2.555 MB / 451.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2605, allocations: 41.53 kB / 451.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000613/0.2611, allocations: 1.807 MB / 452.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.2613, allocations: 476.5 kB / 453.4 MB, free: 1.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000521/0.2618, allocations: 0.8245 MB / 454.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.2619, allocations: 353.9 kB / 454.5 MB, free: 156 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.2633, allocations: 1.308 MB / 455.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.2663, allocations: 3.93 MB / 459.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.271, allocations: 5.699 MB / 465.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.271, allocations: 32 kB / 465.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005231/0.2762, allocations: 5.044 MB / 470.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.2763, allocations: 44 kB / 470.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009178/0.2772, allocations: 0.8392 MB / 471.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.145e-05/0.2773, allocations: 127.9 kB / 471.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.279, allocations: 0.952 MB / 472.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.613e-05/0.2791, allocations: 183.3 kB / 472.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.2806, allocations: 223.7 kB / 472.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.2809, allocations: 256 kB / 473.2 MB, free: 10.92 MB / 362.7 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.001355/0.2822, allocations: 1.206 MB / 474.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.2824, allocations: 206.6 kB / 474.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.2827, allocations: 262.9 kB / 474.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008252/0.2835, allocations: 0.795 MB / 475.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.2835, allocations: 4 kB / 475.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.2835, allocations: 3.984 kB / 475.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.2875, allocations: 3.209 MB / 478.8 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.2875, allocations: 4.875 kB / 478.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.2879, allocations: 175.7 kB / 479 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.288, allocations: 4 kB / 479 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.288, allocations: 20 kB / 479 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.288, allocations: 15.92 kB / 479 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.288, allocations: 4.5 kB / 479.1 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.2894, allocations: 1.775 MB / 480.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.2898, allocations: 314.4 kB / 481.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.2899, allocations: 29.8 kB / 481.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.2903, allocations: 56.8 kB / 481.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.2904, allocations: 67.77 kB / 481.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.2905, allocations: 35.98 kB / 481.3 MB, free: 2.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001296/0.2918, allocations: 1.477 MB / 482.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2918, allocations: 0 / 482.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001785/0.2936, allocations: 0.5272 MB / 483.3 MB, free: 0.543 MB / 362.7 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.00222/0.2958, allocations: 2.447 MB / 485.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.2987, allocations: 2.812 MB / 488.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2987, allocations: 0 / 488.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.2993, allocations: 0.5877 MB / 489.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.3001, allocations: 197.8 kB / 489.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/0.3239, allocations: 25.56 MB / 0.5029 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.3251, allocations: 1.335 MB / 0.5042 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001973/0.327, allocations: 1.452 MB / 0.5056 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/0.3279, allocations: 0.8479 MB / 0.5064 GB, free: 9.742 MB / 410.7 MB Notification: Performance of SimCode: time 3.647e-06/0.3279, allocations: 0 / 0.5064 GB, free: 9.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/0.3765, allocations: 33.04 MB / 0.5387 GB, free: 9.152 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.297/9.674, allocations: 7.438 kB / 0.5387 GB, free: 9.148 MB / 442.7 MB " [Timeout remaining time 650] (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: 11.751485154032707] Failed to read output from testmodel.py, exit status != 0: 9.775332232005894 9.785820477 9.763712975 Calling exit ...