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.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.001254/0.001254, allocations: 113 kB / 18.94 MB, free: 2.934 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.001517/0.001517, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.047 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.04617/0.04617, allocations: 8.105 MB / 320.5 MB, free: 11.33 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 446.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.1011, allocations: 55.24 MB / 0.4896 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006934/0.108, allocations: 5.612 MB / 0.4951 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.1119, allocations: 2.009 MB / 0.4971 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.1125, allocations: 23.94 kB / 0.4971 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1136, allocations: 438 kB / 0.4975 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1152, allocations: 0.7081 MB / 0.4982 GB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1155, allocations: 95.7 kB / 0.4983 GB, free: 1.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.1176, allocations: 1.522 MB / 0.4998 GB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007147/0.1183, allocations: 365.8 kB / 0.5001 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.1191, allocations: 0.4979 MB / 0.5006 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1204, allocations: 0.79 MB / 0.5014 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.1207, allocations: 80 kB / 0.5015 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009398/0.1216, allocations: 403.3 kB / 0.5019 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008208/0.1225, allocations: 0.7202 MB / 0.5026 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.1235, allocations: 0.8534 MB / 0.5034 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.1266, allocations: 2.765 MB / 0.5061 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1266, allocations: 0 / 0.5061 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1266, allocations: 0 / 0.5061 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.29e-05/0.1266, allocations: 3.938 kB / 0.5061 GB, free: 9.68 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003385/0.13, allocations: 2.088 MB / 0.5081 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1301, allocations: 12.02 kB / 0.5082 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.1305, allocations: 377.5 kB / 0.5085 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.1353, allocations: 1.497 MB / 0.51 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.1373, allocations: 0.7983 MB / 0.5108 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.1374, allocations: 93.95 kB / 0.5108 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006562/0.138, allocations: 243.8 kB / 0.5111 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1983/0.3363, allocations: 5.035 MB / 0.516 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.029e-05/0.3363, allocations: 26.75 kB / 0.516 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.3365, allocations: 66.31 kB / 0.5161 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.338, allocations: 1.15 MB / 0.5172 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/0.3441, allocations: 4.292 MB / 0.5214 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.3615, allocations: 20.56 MB / 0.5415 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.3629, allocations: 0.8324 MB / 0.5423 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.3634, allocations: 413.6 kB / 0.5427 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3634, allocations: 5.875 kB / 0.5427 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3634, allocations: 42.73 kB / 0.5427 GB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.587e-06/0.3634, allocations: 0 / 0.5427 GB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005204/0.3686, allocations: 4.006 MB / 0.5466 GB, free: 6.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3687, allocations: 144.8 kB / 0.5468 GB, free: 6.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.3712, allocations: 2.397 MB / 0.5491 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.3713, allocations: 40.66 kB / 0.5492 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/0.372, allocations: 1.837 MB / 0.551 GB, free: 4.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3723, allocations: 484.5 kB / 0.5514 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007496/0.373, allocations: 0.8219 MB / 0.5522 GB, free: 3.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.3731, allocations: 355 kB / 0.5526 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.3745, allocations: 1.282 MB / 0.5538 GB, free: 2.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.3775, allocations: 3.898 MB / 0.5576 GB, free: 14.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.3835, allocations: 5.653 MB / 0.5631 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.854e-05/0.3836, allocations: 28 kB / 0.5632 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008629/0.3922, allocations: 4.968 MB / 0.568 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.3923, allocations: 44 kB / 0.5681 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001084/0.3934, allocations: 0.7758 MB / 0.5688 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.3935, allocations: 120 kB / 0.5689 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.3963, allocations: 0.9435 MB / 0.5698 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001662/0.3965, allocations: 184.2 kB / 0.57 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.3991, allocations: 224.6 kB / 0.5702 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/0.3995, allocations: 252 kB / 0.5705 GB, free: 1.191 MB / 398.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.001938/0.4014, allocations: 1.212 MB / 0.5717 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.4019, allocations: 202.6 kB / 0.5719 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.4024, allocations: 270.9 kB / 0.5721 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001036/0.4034, allocations: 0.7074 MB / 0.5728 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.4034, allocations: 3.938 kB / 0.5728 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4034, allocations: 3.984 kB / 0.5728 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.4088, allocations: 3.186 MB / 0.5759 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.4088, allocations: 8 kB / 0.5759 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.4094, allocations: 160.1 kB / 0.5761 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.4094, allocations: 12 kB / 0.5761 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.4094, allocations: 28 kB / 0.5761 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.4095, allocations: 19.94 kB / 0.5761 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.4095, allocations: 15.88 kB / 0.5762 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.4115, allocations: 1.732 MB / 0.5778 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.412, allocations: 206.4 kB / 0.578 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.4122, allocations: 24 kB / 0.5781 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.4128, allocations: 47.89 kB / 0.5781 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4129, allocations: 91.62 kB / 0.5782 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.413, allocations: 36 kB / 0.5782 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.4151, allocations: 1.485 MB / 0.5797 GB, free: 7.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4151, allocations: 0 / 0.5797 GB, free: 7.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003005/0.4181, allocations: 0.4999 MB / 0.5802 GB, free: 6.922 MB / 414.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.002588/0.4207, allocations: 2.385 MB / 0.5825 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.4251, allocations: 2.678 MB / 0.5851 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.4251, allocations: 320 / 0.5851 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.4258, allocations: 0.4932 MB / 0.5856 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.4273, allocations: 215.9 kB / 0.5858 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03554/0.4629, allocations: 25.69 MB / 0.6109 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.4647, allocations: 1.916 MB / 0.6128 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002867/0.4676, allocations: 1.407 MB / 0.6141 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4687, allocations: 0.8391 MB / 0.615 GB, free: 15.55 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4687, allocations: 0 / 0.615 GB, free: 15.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07737/0.5461, allocations: 35.8 MB / 0.6499 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.18, allocations: 4 kB / 0.6499 GB, free: 11.98 MB / 494.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.751421842025593] Failed to read output from testmodel.py, exit status != 0: 16.31511274096556 16.333198809 16.2030308 Calling exit ...