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.001372/0.001372, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001642/0.001642, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.04601/0.04601, allocations: 8.104 MB / 321.3 MB, free: 11.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 446.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.125, allocations: 55.24 MB / 0.4904 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007651/0.1326, allocations: 5.58 MB / 0.4959 GB, free: 4.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.1367, allocations: 2.095 MB / 0.4979 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.1372, allocations: 19.94 kB / 0.4979 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1383, allocations: 438 kB / 0.4983 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.1399, allocations: 0.7081 MB / 0.499 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1402, allocations: 127.7 kB / 0.4992 GB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.1422, allocations: 1.525 MB / 0.5006 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005304/0.1428, allocations: 369.4 kB / 0.501 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.1434, allocations: 0.5057 MB / 0.5015 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.1444, allocations: 0.7861 MB / 0.5023 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.1446, allocations: 80 kB / 0.5023 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.1455, allocations: 459.1 kB / 0.5028 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.1462, allocations: 0.7242 MB / 0.5035 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.147, allocations: 0.8573 MB / 0.5043 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.15, allocations: 2.784 MB / 0.507 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.15, allocations: 0 / 0.507 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.15, allocations: 0 / 0.507 GB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.1501, allocations: 0 / 0.507 GB, free: 9.406 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.003637/0.1537, allocations: 2.103 MB / 0.5091 GB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1538, allocations: 12.03 kB / 0.5091 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.516e-05/0.1538, allocations: 42.33 kB / 0.5091 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004148/0.1542, allocations: 369.6 kB / 0.5095 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/0.1594, allocations: 1.497 MB / 0.511 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.1612, allocations: 0.7982 MB / 0.5117 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.1613, allocations: 82.05 kB / 0.5118 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000698/0.162, allocations: 259.6 kB / 0.5121 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2241/0.3861, allocations: 5.047 MB / 0.517 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/0.3862, allocations: 27.62 kB / 0.517 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3864, allocations: 62.58 kB / 0.5171 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.388, allocations: 1.15 MB / 0.5182 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.3945, allocations: 4.297 MB / 0.5224 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.4122, allocations: 20.57 MB / 0.5425 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.4136, allocations: 0.84 MB / 0.5433 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.4141, allocations: 411.1 kB / 0.5437 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4142, allocations: 8.625 kB / 0.5437 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4142, allocations: 47.17 kB / 0.5437 GB, free: 8.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.116e-06/0.4142, allocations: 0 / 0.5437 GB, free: 8.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.0108/0.425, allocations: 4.516 MB / 0.5482 GB, free: 6.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.425, allocations: 136.7 kB / 0.5483 GB, free: 6.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.4277, allocations: 2.399 MB / 0.5506 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/0.4278, allocations: 40.09 kB / 0.5507 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.4285, allocations: 1.83 MB / 0.5525 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.4288, allocations: 481 kB / 0.5529 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008493/0.4297, allocations: 0.8347 MB / 0.5537 GB, free: 2.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.4298, allocations: 358.3 kB / 0.5541 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4312, allocations: 1.311 MB / 0.5554 GB, free: 1.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.4347, allocations: 3.923 MB / 0.5592 GB, free: 13.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/0.4417, allocations: 5.711 MB / 0.5648 GB, free: 7.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.514e-05/0.4418, allocations: 28 kB / 0.5648 GB, free: 7.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009224/0.451, allocations: 5.05 MB / 0.5697 GB, free: 2.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.4511, allocations: 44 kB / 0.5698 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001335/0.4524, allocations: 0.8353 MB / 0.5706 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.4526, allocations: 127.9 kB / 0.5707 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.4556, allocations: 0.9509 MB / 0.5716 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.4557, allocations: 179.9 kB / 0.5718 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.4585, allocations: 227.7 kB / 0.572 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.4589, allocations: 256 kB / 0.5723 GB, free: 260 kB / 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.002027/0.461, allocations: 1.203 MB / 0.5734 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.4614, allocations: 207.3 kB / 0.5736 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.462, allocations: 262.9 kB / 0.5739 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00123/0.4632, allocations: 0.7924 MB / 0.5747 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.4632, allocations: 4 kB / 0.5747 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4632, allocations: 3.984 kB / 0.5747 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.4694, allocations: 3.329 MB / 0.5779 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4694, allocations: 8.031 kB / 0.5779 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.4702, allocations: 172.9 kB / 0.5781 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.4702, allocations: 8 kB / 0.5781 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.4702, allocations: 23.98 kB / 0.5781 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.4703, allocations: 11.94 kB / 0.5781 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4703, allocations: 4 kB / 0.5781 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4727, allocations: 1.794 MB / 0.5799 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.4735, allocations: 306.4 kB / 0.5802 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.4737, allocations: 27.98 kB / 0.5802 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.4744, allocations: 47.94 kB / 0.5803 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4745, allocations: 71.77 kB / 0.5803 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.4746, allocations: 39.98 kB / 0.5804 GB, free: 7.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.4769, allocations: 1.477 MB / 0.5818 GB, free: 6.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4769, allocations: 288 / 0.5818 GB, free: 6.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003234/0.4802, allocations: 0.5271 MB / 0.5823 GB, free: 5.773 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.002896/0.4831, allocations: 2.45 MB / 0.5847 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004817/0.4879, allocations: 2.815 MB / 0.5875 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.4879, allocations: 0 / 0.5875 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.4888, allocations: 0.5911 MB / 0.588 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4902, allocations: 187.1 kB / 0.5882 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03746/0.5277, allocations: 25.74 MB / 0.6134 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.5296, allocations: 1.918 MB / 0.6152 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003031/0.5327, allocations: 1.447 MB / 0.6166 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.5339, allocations: 0.8507 MB / 0.6175 GB, free: 14.21 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5339, allocations: 0 / 0.6175 GB, free: 14.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07401/0.608, allocations: 37.1 MB / 0.6537 GB, free: 9.367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.15, allocations: 4 kB / 0.6537 GB, free: 9.363 MB / 494.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.9700082000345] Failed to read output from testmodel.py, exit status != 0: 15.335250556003302 15.349243302 15.196339603 Calling exit ...