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.001859/0.001859, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001603/0.001603, allocations: 215 kB / 20.13 MB, free: 2.949 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 / 253.5 MB, free: 15.14 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.04558/0.04558, allocations: 8.093 MB / 317.6 MB, free: 392 kB / 238.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.001917/0.001917, allocations: 70.92 kB / 441.6 MB, free: 39.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09684, allocations: 55.21 MB / 496.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004576/0.1014, allocations: 5.555 MB / 0.4906 GB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.104, allocations: 2.076 MB / 0.4927 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.1043, allocations: 23.94 kB / 0.4927 GB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.1051, allocations: 437.9 kB / 0.4931 GB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.1062, allocations: 0.7003 MB / 0.4938 GB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1065, allocations: 131.6 kB / 0.4939 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.1082, allocations: 1.521 MB / 0.4954 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.1087, allocations: 258.2 kB / 0.4956 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.1094, allocations: 0.5134 MB / 0.4961 GB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.1104, allocations: 0.7901 MB / 0.4969 GB, free: 12.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.1105, allocations: 80 kB / 0.497 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.1114, allocations: 455.2 kB / 0.4974 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.112, allocations: 0.7203 MB / 0.4981 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008196/0.1129, allocations: 0.8611 MB / 0.499 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.1159, allocations: 2.78 MB / 0.5017 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1159, allocations: 4 kB / 0.5017 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1159, allocations: 0 / 0.5017 GB, free: 7.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.116, allocations: 3.938 kB / 0.5017 GB, free: 7.598 MB / 366.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.003447/0.1194, allocations: 2.175 MB / 0.5038 GB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1195, allocations: 8.031 kB / 0.5038 GB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.779e-05/0.1195, allocations: 46.31 kB / 0.5039 GB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004001/0.1199, allocations: 369.6 kB / 0.5042 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.125, allocations: 1.497 MB / 0.5057 GB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.1264, allocations: 0.8508 MB / 0.5065 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.1264, allocations: 98.02 kB / 0.5066 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000664/0.1271, allocations: 251.6 kB / 0.5068 GB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/0.1335, allocations: 5.045 MB / 0.5118 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.1335, allocations: 35.64 kB / 0.5118 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.1337, allocations: 63.91 kB / 0.5119 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/0.1355, allocations: 1.154 MB / 0.513 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007373/0.1429, allocations: 4.296 MB / 0.5172 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.1647, allocations: 20.65 MB / 0.5374 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.1664, allocations: 1.288 MB / 0.5386 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.167, allocations: 415.2 kB / 0.539 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.167, allocations: 8 kB / 0.539 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.167, allocations: 42.5 kB / 0.5391 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 2.765e-06/0.167, allocations: 0 / 0.5391 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=117): time 0.01166/0.1787, allocations: 4.591 MB / 0.5435 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1788, allocations: 136.8 kB / 0.5437 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.1822, allocations: 2.401 MB / 0.546 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.1823, allocations: 33.7 kB / 0.546 GB, free: 8.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.1837, allocations: 1.836 MB / 0.5478 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.1842, allocations: 484.3 kB / 0.5483 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.1852, allocations: 0.8377 MB / 0.5491 GB, free: 5.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1854, allocations: 361.9 kB / 0.5495 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.1874, allocations: 1.308 MB / 0.5507 GB, free: 3.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.1914, allocations: 3.922 MB / 0.5546 GB, free: 14.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/0.1983, allocations: 5.707 MB / 0.5601 GB, free: 7.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-05/0.1984, allocations: 28 kB / 0.5602 GB, free: 7.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008443/0.2068, allocations: 5.042 MB / 0.5651 GB, free: 2.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.2069, allocations: 44 kB / 0.5651 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001204/0.2081, allocations: 0.8382 MB / 0.566 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.2082, allocations: 120 kB / 0.5661 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.211, allocations: 0.9435 MB / 0.567 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.2112, allocations: 187.6 kB / 0.5672 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.2134, allocations: 223.7 kB / 0.5674 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.2138, allocations: 260 kB / 0.5676 GB, free: 15.8 MB / 446.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.00158/0.2154, allocations: 1.206 MB / 0.5688 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.2157, allocations: 202.6 kB / 0.569 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.2162, allocations: 266.9 kB / 0.5693 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001215/0.2175, allocations: 0.7915 MB / 0.57 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2175, allocations: 8 kB / 0.57 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.2175, allocations: 11.97 kB / 0.57 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.2228, allocations: 3.338 MB / 0.5733 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.2229, allocations: 4 kB / 0.5733 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000715/0.2236, allocations: 171.7 kB / 0.5735 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.2236, allocations: 11.94 kB / 0.5735 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.2237, allocations: 27.98 kB / 0.5735 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.2237, allocations: 11.94 kB / 0.5735 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2237, allocations: 4 kB / 0.5735 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.2258, allocations: 1.783 MB / 0.5753 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.2263, allocations: 387.5 kB / 0.5756 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2265, allocations: 31.88 kB / 0.5757 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.2272, allocations: 59.91 kB / 0.5757 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2274, allocations: 63.86 kB / 0.5758 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.2274, allocations: 35.98 kB / 0.5758 GB, free: 7.191 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.2294, allocations: 1.473 MB / 0.5773 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2294, allocations: 4 kB / 0.5773 GB, free: 5.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002448/0.2318, allocations: 0.535 MB / 0.5778 GB, free: 5.16 MB / 446.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.002662/0.2345, allocations: 2.437 MB / 0.5802 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2009/0.4354, allocations: 2.809 MB / 0.5829 GB, free: 91.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.4354, allocations: 1.375 kB / 0.5829 GB, free: 91.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4364, allocations: 0.5938 MB / 0.5835 GB, free: 91.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4378, allocations: 188.4 kB / 0.5837 GB, free: 91.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.4635, allocations: 25.74 MB / 0.6088 GB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.4647, allocations: 1.921 MB / 0.6107 GB, free: 72.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002288/0.467, allocations: 1.442 MB / 0.6121 GB, free: 71.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/0.4679, allocations: 0.8508 MB / 0.6129 GB, free: 70.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4679, allocations: 0 / 0.6129 GB, free: 70.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/0.5176, allocations: 33.63 MB / 0.6458 GB, free: 37.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.98, allocations: 7.062 kB / 0.6458 GB, free: 37.31 MB / 446.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 & /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: 16.079193000972737] Failed to read output from testmodel.py, exit status != 0: 13.12990387098398 13.138291035 13.020010544 Calling exit ...