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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001604/0.001604, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.73 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.04628/0.04628, allocations: 8.099 MB / 320.5 MB, free: 11.04 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.001984/0.001984, allocations: 67.89 kB / 446.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 55.24 MB / 0.4896 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.00674/0.1167, allocations: 4.972 MB / 0.4944 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.1206, allocations: 1.928 MB / 0.4963 GB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.121, allocations: 23.94 kB / 0.4963 GB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.122, allocations: 426 kB / 0.4967 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1235, allocations: 0.7081 MB / 0.4974 GB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1238, allocations: 135.6 kB / 0.4976 GB, free: 1.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.1254, allocations: 1.522 MB / 0.4991 GB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.1259, allocations: 361.5 kB / 0.4994 GB, free: 40 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.1265, allocations: 0.5135 MB / 0.4999 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/0.1274, allocations: 0.7627 MB / 0.5006 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.1276, allocations: 84 kB / 0.5007 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.1282, allocations: 339.4 kB / 0.501 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.1288, allocations: 0.7125 MB / 0.5017 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.1294, allocations: 0.597 MB / 0.5023 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.1321, allocations: 2.78 MB / 0.505 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1321, allocations: 0 / 0.505 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1321, allocations: 0 / 0.505 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.1321, allocations: 0 / 0.505 GB, free: 10.23 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.003084/0.1352, allocations: 2.103 MB / 0.5071 GB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1352, allocations: 8.031 kB / 0.5071 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/0.1356, allocations: 381.5 kB / 0.5075 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.1404, allocations: 1.497 MB / 0.5089 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.1421, allocations: 0.8062 MB / 0.5097 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.1422, allocations: 78.05 kB / 0.5098 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006504/0.1428, allocations: 251.7 kB / 0.51 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2219/0.3647, allocations: 5.047 MB / 0.515 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.3647, allocations: 28.72 kB / 0.515 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.3649, allocations: 62.94 kB / 0.515 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.3665, allocations: 1.15 MB / 0.5162 GB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006369/0.3728, allocations: 4.288 MB / 0.5204 GB, free: 24.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.3901, allocations: 19.92 MB / 0.5398 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.392, allocations: 0.8332 MB / 0.5406 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.3926, allocations: 415.6 kB / 0.541 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3926, allocations: 6.281 kB / 0.541 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3927, allocations: 46.39 kB / 0.5411 GB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.547e-06/0.3927, allocations: 0 / 0.5411 GB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.0112/0.4039, allocations: 4.515 MB / 0.5455 GB, free: 7.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4039, allocations: 141.7 kB / 0.5456 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.4067, allocations: 2.551 MB / 0.5481 GB, free: 5.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.4068, allocations: 37.36 kB / 0.5481 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/0.4075, allocations: 1.837 MB / 0.5499 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.4078, allocations: 481.9 kB / 0.5504 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008245/0.4087, allocations: 0.8363 MB / 0.5512 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.4087, allocations: 351.1 kB / 0.5515 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4102, allocations: 1.312 MB / 0.5528 GB, free: 2.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.413, allocations: 3.926 MB / 0.5567 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/0.4194, allocations: 5.701 MB / 0.5622 GB, free: 8.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-05/0.4195, allocations: 35.94 kB / 0.5623 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007741/0.4272, allocations: 5.039 MB / 0.5672 GB, free: 3.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.4273, allocations: 44 kB / 0.5672 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001187/0.4285, allocations: 0.8382 MB / 0.568 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.4286, allocations: 128.7 kB / 0.5682 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.4314, allocations: 0.952 MB / 0.5691 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001599/0.4315, allocations: 179.3 kB / 0.5693 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.434, allocations: 226.6 kB / 0.5695 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.4343, allocations: 260 kB / 0.5697 GB, free: 0.7109 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.001628/0.4359, allocations: 1.202 MB / 0.5709 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.4363, allocations: 214.6 kB / 0.5711 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.4368, allocations: 267.4 kB / 0.5714 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001154/0.4379, allocations: 0.7902 MB / 0.5721 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4379, allocations: 0 / 0.5721 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.4379, allocations: 7.969 kB / 0.5721 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.4436, allocations: 3.182 MB / 0.5753 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.4437, allocations: 8.031 kB / 0.5753 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.4444, allocations: 172.3 kB / 0.5754 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4444, allocations: 8 kB / 0.5754 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.4445, allocations: 27.98 kB / 0.5755 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4445, allocations: 7.938 kB / 0.5755 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4445, allocations: 8 kB / 0.5755 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.4468, allocations: 1.791 MB / 0.5772 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.4477, allocations: 306.7 kB / 0.5775 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.4479, allocations: 24 kB / 0.5775 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.4486, allocations: 55.92 kB / 0.5776 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4487, allocations: 71.7 kB / 0.5777 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.4488, allocations: 43.97 kB / 0.5777 GB, free: 8.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.4508, allocations: 1.477 MB / 0.5791 GB, free: 6.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4508, allocations: 3.938 kB / 0.5792 GB, free: 6.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003226/0.4541, allocations: 0.5233 MB / 0.5797 GB, free: 6.352 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.002798/0.4569, allocations: 2.444 MB / 0.582 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00499/0.4619, allocations: 2.817 MB / 0.5848 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.4619, allocations: 0 / 0.5848 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.4629, allocations: 0.5924 MB / 0.5854 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.4647, allocations: 190.1 kB / 0.5856 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/0.4985, allocations: 25.73 MB / 0.6107 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.5005, allocations: 1.338 MB / 0.612 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003324/0.5038, allocations: 1.446 MB / 0.6134 GB, free: 252 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.5051, allocations: 0.8429 MB / 0.6142 GB, free: 15.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5051, allocations: 3.938 kB / 0.6142 GB, free: 15.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07564/0.5807, allocations: 32.96 MB / 0.6464 GB, free: 14.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.79, allocations: 2.188 kB / 0.6464 GB, free: 14.89 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.466905360110104] Failed to read output from testmodel.py, exit status != 0: 12.93039861973375 12.94448792 12.809258162 Calling exit ...