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.001625/0.001625, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001528/0.001528, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.04795/0.04795, allocations: 8.104 MB / 321.3 MB, free: 11.06 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.91 kB / 446.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 55.23 MB / 0.4903 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007055/0.1232, allocations: 4.975 MB / 0.4952 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1273, allocations: 1.854 MB / 0.497 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.1282, allocations: 27.94 kB / 0.497 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1295, allocations: 430 kB / 0.4974 GB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.1315, allocations: 0.7042 MB / 0.4981 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.1319, allocations: 99.69 kB / 0.4982 GB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.1341, allocations: 1.517 MB / 0.4997 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.1349, allocations: 353.5 kB / 0.5 GB, free: 204 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008365/0.1357, allocations: 0.5019 MB / 0.5005 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1368, allocations: 0.7939 MB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.137, allocations: 80 kB / 0.5014 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/0.1378, allocations: 303.3 kB / 0.5017 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007481/0.1385, allocations: 0.7086 MB / 0.5024 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.1392, allocations: 0.5931 MB / 0.5029 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.1426, allocations: 2.753 MB / 0.5056 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1426, allocations: 7.938 kB / 0.5056 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1426, allocations: 0 / 0.5056 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.808e-05/0.1427, allocations: 0 / 0.5056 GB, free: 10.44 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.00368/0.1464, allocations: 2.099 MB / 0.5077 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1464, allocations: 8.031 kB / 0.5077 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.144e-05/0.1465, allocations: 46.31 kB / 0.5077 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004473/0.1469, allocations: 369.6 kB / 0.5081 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.1518, allocations: 1.501 MB / 0.5096 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.1534, allocations: 0.806 MB / 0.5103 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.1535, allocations: 86.03 kB / 0.5104 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.1542, allocations: 251.7 kB / 0.5107 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2078/0.362, allocations: 5.04 MB / 0.5156 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.362, allocations: 28.19 kB / 0.5156 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.3623, allocations: 58.61 kB / 0.5157 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/0.3638, allocations: 1.151 MB / 0.5168 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006574/0.3704, allocations: 4.292 MB / 0.521 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.3885, allocations: 19.92 MB / 0.5404 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3899, allocations: 0.8324 MB / 0.5412 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.3904, allocations: 405.8 kB / 0.5416 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3904, allocations: 10.75 kB / 0.5416 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3904, allocations: 43.69 kB / 0.5417 GB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.3904, allocations: 0 / 0.5417 GB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005721/0.3962, allocations: 4.007 MB / 0.5456 GB, free: 7.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3962, allocations: 141.2 kB / 0.5457 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.3992, allocations: 2.398 MB / 0.5481 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.3993, allocations: 41.81 kB / 0.5481 GB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.4, allocations: 1.839 MB / 0.5499 GB, free: 4.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.4003, allocations: 477.9 kB / 0.5504 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.4011, allocations: 0.825 MB / 0.5512 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.4012, allocations: 354.5 kB / 0.5515 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4028, allocations: 1.282 MB / 0.5528 GB, free: 3.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.4057, allocations: 3.9 MB / 0.5566 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006827/0.4125, allocations: 5.655 MB / 0.5621 GB, free: 9.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-05/0.4126, allocations: 28 kB / 0.5621 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008432/0.421, allocations: 4.97 MB / 0.567 GB, free: 4.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.4211, allocations: 48 kB / 0.567 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001099/0.4222, allocations: 0.7671 MB / 0.5678 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.4223, allocations: 120.8 kB / 0.5679 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.4252, allocations: 0.9459 MB / 0.5688 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/0.4254, allocations: 187.2 kB / 0.569 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.4278, allocations: 223.7 kB / 0.5692 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.4282, allocations: 252.9 kB / 0.5694 GB, free: 1.812 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.001744/0.4299, allocations: 1.206 MB / 0.5706 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.4304, allocations: 206.6 kB / 0.5708 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.4308, allocations: 266.9 kB / 0.5711 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00108/0.4319, allocations: 0.7132 MB / 0.5718 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.4319, allocations: 8.219 kB / 0.5718 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4319, allocations: 3.984 kB / 0.5718 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.4375, allocations: 3.052 MB / 0.5748 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.4375, allocations: 8 kB / 0.5748 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.438, allocations: 160.8 kB / 0.5749 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.438, allocations: 12.81 kB / 0.5749 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.4381, allocations: 34.88 kB / 0.575 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.4381, allocations: 19.94 kB / 0.575 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/0.4381, allocations: 15.94 kB / 0.575 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.4403, allocations: 1.723 MB / 0.5767 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.4407, allocations: 198.5 kB / 0.5769 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.441, allocations: 37.94 kB / 0.5769 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.4416, allocations: 47.89 kB / 0.577 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.4417, allocations: 95.39 kB / 0.577 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.4418, allocations: 40 kB / 0.5771 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.444, allocations: 1.474 MB / 0.5785 GB, free: 8.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.444, allocations: 0 / 0.5785 GB, free: 8.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00309/0.4471, allocations: 0.4999 MB / 0.579 GB, free: 7.707 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.002869/0.45, allocations: 2.389 MB / 0.5813 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.4547, allocations: 2.673 MB / 0.584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.4547, allocations: 0 / 0.584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.4555, allocations: 0.4936 MB / 0.5844 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.4572, allocations: 210 kB / 0.5846 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03883/0.4961, allocations: 25.69 MB / 0.6097 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4979, allocations: 1.34 MB / 0.611 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00304/0.5009, allocations: 1.407 MB / 0.6124 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.5022, allocations: 0.8468 MB / 0.6132 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5022, allocations: 0 / 0.6132 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/0.5761, allocations: 33.36 MB / 0.6458 GB, free: 44 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.82, allocations: 4 kB / 0.6458 GB, free: 40 kB / 478.1 MB " [Timeout remaining time 645] (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: 17.661936011980288] Failed to read output from testmodel.py, exit status != 0: 15.006349848001264 15.0205285 14.874944745 Calling exit ...